var myString = 'IE, Firefox, Opera, Chrome, Safari'; var myStringArray = myString.split(','); The values are now in myStringArray - myStringArray[0] would be 'IE'