728x90
728x90
SMALL
fn:toLowerCase()
- 문자열의 모든 문자를 소문자로 변환합니다.
Syntax
java.lang.String toLowerCase(java.lang.String)
Example
<%@ taglib uri = "http://java.sun.com/jsp/jstl/core" prefix = "c" %>
<%@ taglib uri = "http://java.sun.com/jsp/jstl/functions" prefix = "fn" %>
<html>
<head>
<title>Using JSTL Functions</title>
</head>
<body>
<c:set var = "string1" value = "This is first String."/>
<c:set var = "string2" value = "${fn:toLowerCase(string1)}" />
<p>Final string : ${string2}</p>
</body>
</html>
Result
Final string : this is first string.
728x90
728x90
LIST
'JSP > JSTL functions' 카테고리의 다른 글
[JSP][JSTL functions] fn:trim() (0) | 2021.07.30 |
---|---|
[JSP][JSTL functions] fn:toUpperCase() (0) | 2021.07.30 |
[JSP][JSTL functions] fn:substringBefore() (0) | 2021.07.30 |
[JSP][JSTL functions] fn:substringAfter() (0) | 2021.07.30 |
[JSP][JSTL functions] fn:substring() (0) | 2021.07.30 |