How can I split strings separated by \"/\" inside a jsp page using JSTL?
I have a string in this format: **
\"23/11/2010\"
It's worth noting for anyone else who finds this question in their searching (as I did) that JSTL has the useful tag .
This will split the input string by a supplied delimiter and then iterate over the resultant collection of tokens.
As demonstrated here, the following code:
Would result in:
A
B
C
D
Documentation: JSTL core Tag forTokens