Hello
I was looking in the Jade documentation for a method to split up a string on a particular character.
I think the closest I could find is String.getTokens which returns a StringArray of the individual parts of a string but is split on specific characters.
Ideally I would like the same function but to take in a character (or string) parameter and have the string divided up on that. So for example "a;b;c;d;e".split(';') would produce [[a], , [c], [d], [e]]
I don't mind writing my own function to do this, was just wondering if anyone else has done this before me, or if I missed what I want in the Jade Documentation
Cheers
Andy