javascript中的replace方法
摘要:1.replace 调用方法str.replace(regexp|substr, newSubStr|function) regexp,正则表达式 substr,需要被替换的字符串 newSubStr,用于替换的字符串 function,一个用于创建新字符串的函数 regexp,正则表达式 subs
阅读全文
posted @ 2018-07-09 09:45
posted @ 2018-07-09 09:45
posted @ 2018-07-08 12:50
posted @ 2017-02-21 16:54
posted @ 2016-06-23 15:46