eric
0
Q:

js explode equivalent

//split into array of strings.
var str = "Well, how, are , we , doing, today";
var res = str.split(",");
29
//Loading the variable
var mystr = '0000000020C90037:TEMP:data';

//Splitting it with : as the separator
var myarr = mystr.split(":");

//Resulting array structure
myarr = ['0000000020C90037', 'TEMP', 'data'];
0

New to Communities?

Join the community