摘要: String.prototype.replace() 该方法作为字符串中非常常用的方法, 今天我们具体介绍一下它的用法 语法格式 someString.replace(regxp | substr, newStr | function) 第一个入参可以是正则或者是字符串, 如是字符串将不能设置忽略大 阅读全文
posted @ 2018-02-11 15:10 xvivx 阅读(11785) 评论(1) 推荐(0) 编辑