Answers for "js explode equivalent"

2

js explode equivalent

//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'];
Posted by: Guest on September-23-2020
0

js string explode

str.split(';');
Posted by: Guest on January-14-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language