Share via


Replacer.ReplaceText

構文

Replacer.ReplaceText(text as nullable text, old as text, new as text) as nullable text

バージョン情報

元の textold テキストを new テキストに置き換えます。 この置換関数は、List.ReplaceValueTable.ReplaceValue で使用できます。

例 1

文字列 "hEllo world" 内のテキスト "hE" を "He" に置き換えます。

使用方法

Replacer.ReplaceText("hEllo world", "hE", "He")

出力

"Hello world"