JavaScript split function

Posted by lalchand on Stack Overflow See other posts from Stack Overflow or by lalchand
Published on 2010-06-10T13:24:04Z Indexed on 2010/06/10 13:33 UTC
Read the original article Hit count: 139

Filed under:

i like to split a string depending on "," character using JavaScript

example

var mystring="1=name1,2=name2,3=name3";

need output like this

1=name1
2=name2
3=name3

© Stack Overflow or respective owner

Related posts about JavaScript