Text.Replace
Text.Replace (text as nullable text, old as text, new as text) as nullable text
返回将文本值 text
中所有出现的文本值 old
替换为文本值 new
的结果。此函数区分大小写。
示例:
将句子中出现的每个 "the" 替换为 "a"。
使用情况:
Text.Replace("the quick brown fox jumps over the lazy dog", "the", "a")
输出:
"a quick brown fox jumps over a lazy dog"