can we really not use | for splitting? I've been debugging my code for the whole day not knowing why it does not work until I found out the error was splitting with | it works in w3school.. why not in alfresco?
If you are trying to do this in a webscript then it will be because Rhino does not support it. Javascript on the server is run using Rhino which is a very old version of Javascript with a few anomalies.
That said, I am very surprised that you cannot split on |
this was my old account. I resolved this by replacing | with # and then split it with #. I find it weird that it could split with others but not with |