string_replace

将给定输入字符串中子字符串的所有匹配项替换为替换字符串。

输入

string

输入字符串。

old

要替换的子字符串。

new

替换字符串。

输出

modified

old 子字符串的所有匹配项均替换为替换字符串的输入字符串。