Replacer.ReplaceText
语法
Replacer.ReplaceText(text as nullable text, old as text, new as text) as nullable text
关于
将原始 text
中的 old
文本替换为 new
文本。 此替换器函数可用于 List.ReplaceValue
和 Table.ReplaceValue
中。
示例 1
将字符串“hEllo world”中的“hE”文本替换为“He”文本。
使用情况
Replacer.ReplaceText("hEllo world", "hE", "He")
输出
"Hello world"