Javascript javascript split string into array by comma and space 代码答案。 ... input.split(/[ ,]+/); //splits string using RegEx on a space OR a comma ...
確定! 回上一頁