Replace
从字符串里替换子串。
uint Replace(
const string substring, // 替换的子串
const string newstring // 新的子串
)参数
substring
[输入] 搜索的字串。
newstring
[输入] 替换的子串。
返回值
替换子串的数量。
从字符串里替换子串。
uint Replace(
const string substring, // 替换的子串
const string newstring // 新的子串
)substring
[输入] 搜索的字串。
newstring
[输入] 替换的子串。
替换子串的数量。