Replacer.ReplaceText

Syntax

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

O

Nahradí text old v pôvodnom text textom new. Túto funkciu nahrádzača možno použiť v službách List.ReplaceValue a Table.ReplaceValue.

Príklad

Nahraďte text "hE" textom "He" v reťazci "hEllo world".

používania

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

výstupu

"Hello world"