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
No need for jQuery. Use Javascripts join() method. Like
jQuery
Javascripts
var arr = ["A12", "C105", "B50"], str = arr.join('|'); alert(str);