0

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.

Michael
  • 32,527
  • 49
  • 210
  • 370
  • 1
    I think you can get help here [http://stackoverflow.com/questions/12604344/jstl-split-function][1] [1]: http://stackoverflow.com/questions/12604344/jstl-split-function Regards – Simon May 08 '15 at 07:51

1 Answers1

0

You can split string with JSTL

<c:set var="word" value="${fn:split('Paper, Tag', ',')}" />

For more: SPLIT WITH JSTL

Afsun Khammadli
  • 2,048
  • 4
  • 18
  • 28