📌  相关文章
📜  javascript 拆分多个分隔符 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:58.558000             🧑  作者: Mango

代码示例1
>>> bits = "Hello awesome, world!".split(/[\s,]+/)
["Hello", "awesome", "world!"]
>>> bit = bits[bits.length - 1]
"world!"