I have a Javascript string array with values like A12, B50, C105 etc. and I want to turn it into a pipe delimited string like this: A12|B50|C105...
How could I do th
For a native JavaScript array then myArray.join('|') will do just fine.
myArray.join('|')
On the other hand, if you are using jQuery and the return value is a jQuery wrapped array then you could do something like the following (untested):
jQuerySelectedArray.get().join('|')
See this article for more information.