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

Using JSTL functions

The length of the String: ${fn:length(string)}
Does the String contains "Welcome"? ${fn:contains(string,"Welcome")}
Splits a string into an array of substrings using fn:split() : ${fn:length(fn:split(string," "))}
Ignore the case : ${fn:containsIgnoreCase(string, "Welcome")}
Converting the String into upper case using fn:toUpperCase(): ${fn:toUpperCase(string)}
Converting the String into lower case using fn:toLowerCase(): ${fn:toLowerCase(string)}
Making the substring of "roseindia.net" : ${fn:substring("roseindia.net", 0,9)}