Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

store string in array javascript

var arr =  "My name is Aditya Kumar".split(" ")
// returns [My, name, is, Aditya, Kumar]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #store #string #array #javascript
ADD COMMENT
Topic
Name
4+3 =