I am trying to remove all spaces from a jstl variable.
<c:set var="string1" value="This is first String "/>
Trim only removes trailing spaces, but I want the result to look like this:
"ThisisfirstString"
with all remote spaces. Can anyone suggest?
Jeets source
share