js String

1 将字符串按特定字符串切割

  str.split(strsub)

2 字符串置换

  str.replace(oldstr,newstr)

posted @ 2021-06-10 14:51  容我看看这世界啊  阅读(64)  评论(0)    收藏  举报