javascript explode string into array code example
Example 1: js string explode
str.split(';');
Example 2: explode array inside string javascript
var getValue = '["1","2"]';
var obj = JSON.parse(getValue) //obj is now ["1", "2"]
str.split(';');
var getValue = '["1","2"]';
var obj = JSON.parse(getValue) //obj is now ["1", "2"]