replace的理解 replace是字符串对象的公有方法, str.replace(findStr,newStr) replace:把字符串里符合规则的部分替换成新的部分. 先讨论第一个参数,也就是规则 1. … Continue reading replace的理解