次の方法で共有


Text.Replace

構文

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

バージョン情報

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

例 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"