摘要: str.replace(regexp|substr, newSubStr|function) API本身不改变原本的字符串,只是返回新的字符串例子:用函数作为第二个参数function replacer(match, p1, p2, p3, offset, string, namedCaptureG 阅读全文
posted @ 2022-03-16 10:28 sky-su 阅读(72) 评论(0) 推荐(0)