str.replace()方法可以通过第三个参数count来指定替换的次数,如果不提供count参数,它会替换字符串中所有匹配的子串,str.replace()方法的基本语法str.replace(old,new[,coun...