Velocity Template Language - splitting a string
807599Apr 16 2007 — edited Apr 16 2007Hi probably sounds like a dumb question to all you java developers but I need some assistance in splitting a velocity string please.
My value is the following - $content
For testing purposes I have a added a word 'test' in my string. This is where I would like it split.
I think it's something along the lines of - $content.split("test")
dont know how to return the array values.
Any sort of help would be really appreciated.
Thanks
WGB