📌  相关文章
📜  js 获取字符前的字符串 - Javascript 代码示例

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

代码示例2
//split string into an array and grab the first item

var streetaddress = addy.split(',')[0];