Bagikan melalui


Replacer.ReplaceText

Sintaksis

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

Tentang

Mengganti teks old di text asli dengan teks new. Fungsi pengganti ini dapat digunakan dalam List.ReplaceValue dan Table.ReplaceValue.

Contoh 1

Ganti teks "hE" menjadi "He" dalam string "hEllo world".

Penggunaan

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

Output

"Hello world"