📅  最后修改于: 2022-03-11 15:03:35.407000             🧑  作者: Mango
var myString = 'IE, Firefox, Opera, Chrome, Safari';
var myStringArray = myString.split(',');
The values are now in myStringArray - myStringArray[0] would be 'IE'