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