Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

exploding string with comma using jquery

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: #exploding #string #comma #jquery
ADD COMMENT
Topic
Name
7+7 =