Freigeben über


Text.Replace

Syntax

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

About

Gibt das Ergebnis zurück, dass alle Vorkommen von Textwert old in Textwert text durch Textwert newersetzt werden. Bei dieser Funktion wird die Groß-/Kleinschreibung beachtet.

Beispiel

Ersetzen Sie jedes Vorkommen von "the" in einem Satz durch "a".

Verwendung

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

Output

"a quick brown fox jumps over a lazy dog"