Aracılığıyla paylaş


Replacer.ReplaceText

Sözdizimi

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

Hakkında

Özgün text metnindeki old metnini new metniyle değiştirir. Bu değiştirici işlev List.ReplaceValue ve Table.ReplaceValueiçin kullanılabilir.

Örnek 1

"hEllo world" dizesindeki "hE" metnini "He" ile değiştirin.

Kullanım

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

çıkış

"Hello world"