Answers for "javascript explode word"

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

segregate value by _ using jquery like explode

var myString = 'IE, Firefox, Opera,
Posted by: Guest on September-23-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language