I have a string value like:
1,2,3;4,5,6;7,8,9;a,b,c;d,e,f;g,h,i
I need to convert it into array in JavaScript like
1 2 3
4 5 6
7 8 9
etc.
Can any one please suggest me a way how to do this?
I have a string value like:
I need to convert it into array in JavaScript like
Can any one please suggest me a way how to do this? |
|||||||||||||||||||||
|
You are looking for
|
|||||
|
Try the following:
|
|||||||||||||
|
If you need a multi-dimensional array you can try :
|
|||
|
The following split command should help:
|
|||||||||
|