How to get String length using JSTL Expression Language?
843836Mar 25 2004 — edited Jun 12 2006Newbie question: Is it possible to get the length of a String using JSTL Expression Language?
e.g. I have <c:set var="s" value="somechangingstring"/> . Is there a way to find the length of s? ${s.length} doesn't work.
I've been searching high and low through my JSTL books but couldn't find any.
If there is no built in operator, what would be the easiest and cleanest way to get the length of a String?