Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

remove string from outside array javascript

var getValue = '["1","2"]';
var obj = JSON.parse(getValue) //obj is now ["1", "2"]
 
PREVIOUS NEXT
Tagged: #remove #string #array #javascript
ADD COMMENT
Topic
Name
9+4 =