<%@ 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 various JSTL 1.1 functions
The length of the test String: ${fn:length(tempStr)}
Does the test String contain "test"? ${fn:contains(tempStr,"test")}
Putting the String into upper case using fn:toUpperCase(): ${fn:toUpperCase(tempStr)}
Splitting the String into a String array using fn:split(), and returning the array length: ${fn:length(fn:split(tempStr," "))}