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