Text.Replace

構文

Text.Replace(text as nullable text, old as text, new as text) as nullable text

バージョン情報

テキスト値 new に出現するすべてのテキスト値 old をテキスト値 text に置き換えた結果を返します。 この関数では大文字と小文字が区別されます。

例 1

文章内に出現するすべての "the" を "a" に置き換えます。

使用方法

Text.Replace("the quick brown fox jumps over the lazy dog", "the", "a")

出力

"a quick brown fox jumps over a lazy dog"