Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

string to array

let str ='a,b,c,d'
let result =str.split(',');
//output:
['a','b','c','d']
Source by www.samanthaming.com #
 
PREVIOUS NEXT
Tagged: #string #array
ADD COMMENT
Topic
Name
8+6 =