JSTL fn:toLowerCase() function

The JSTL fn:toLowerCase() function returns the input string after converting the all characters of the string to lower case.

Syntax:

String toLowerCase(String inputString)

Example:

test.jsp

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>


	
		fn:toLowerCase JSTL function example
	
	
		
		Given String: 


String after change case (lower):

web.xml


	
  
          test.jsp
  	


Output:

jsp example 64
 
Download this example.
 
Next Topic: JSTL fn:toUpperCase() function with example.
Previous Topic: JSTL fn:subStringBefore() function with example.