d
Amit Dhamu
Software Engineer
Articles
Snippets
Colophon
Projects
Uses
Comma Separated String To Array
1 minute read
00000 views
var
myString
=
'Apples,Oranges,Bananas,Cherries'
var
myArray
=
myString
.
split
(
','
)
arrays
strings
split
javascript