Hi Evelyne,
On May 10, evelyne24(a)gmail.com wrote :
My question is, how can I apply string transformations
(i.e to lowercase, split the string etc) to this variable($input) in velocity? I looked
everywhere but I guess I miss something. Please help!
To split a string you may use xwiki.split(String str, String sep)
(see com.xpn.xwiki.api.xwiki).
I've never tried it myself but it should do the trick.
For "lowercasing" I'm not sure if you can do this without
calling a java helper function, but i'm really not a velocity
expert.
Kind regards,
Pablo