%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
Input String | Result |
---|---|
${s1} | ${fn:length(s1)} |
${customers} | ${fn:length(customers)} |
null | ${fn:length(undefined)} |
empty string | ${fn:length("")} |