Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

segregate value by _ using jquery like explode

var myString = 'IE, Firefox, Opera, Chrome, Safari';
var myStringArray = myString.split(',');

The values are now in myStringArray - myStringArray[0] would be 'IE'
 
PREVIOUS NEXT
Tagged: #segregate #jquery #explode
ADD COMMENT
Topic
Name
1+4 =