java script spilt array from special charater and push into otherone code example
Example: javascript explode
//split into array of strings.
var str = "Well, how, are , we , doing, today";
var res = str.split(",");
//split into array of strings.
var str = "Well, how, are , we , doing, today";
var res = str.split(",");