I want to split a word using JSTL
PaperTag: Paper, Tag
and i want to store it as:
word[0]: Paper;
word[1]: Tag;
I couldn't find any specific way to do this on google.
I want to split a word using JSTL
PaperTag: Paper, Tag
and i want to store it as:
word[0]: Paper;
word[1]: Tag;
I couldn't find any specific way to do this on google.
You can split string with JSTL
<c:set var="word" value="${fn:split('Paper, Tag', ',')}" />
For more: SPLIT WITH JSTL