<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> Example fn:split and fn:join tag of JSTL

tag fn:split(Here we will split the given string in to array of string on the
basis of given delimeter)

tag fn:split(Here we will join the splitted array of string in to a single string
with the given separator)

Input String Delimiter(s) After split
${str1} white space
${str2} |
${str3} +|*
Separator After join
white space
|
***