🌈 搜索
📅  最后修改于: 2022-03-11 15:02:58.558000             🧑  作者: Mango
>>> bits = "Hello awesome, world!".split(/[\s,]+/) ["Hello", "awesome", "world!"] >>> bit = bits[bits.length - 1] "world!"