char.
replace
对于中的每个元素 a ,返回包含所有子字符串的字符串副本 old 替换为 new .
调用 str.replace 元素的。
如果可选参数 count 只有第一个 count 出现的内容将被替换。
count
str或unicode的输出数组,取决于输入类型
参见
str.replace