Replacer.ReplaceText
Nahradí text v zadaném vstupu.
Syntax
Replacer.ReplaceText(
text as text,
old as text,
new as text
) as text
Remarks
Nahradí text old v původním záznamu text textem new. Tento nahrazovač lze použít u hodnot List.ReplaceValue a Table.ReplaceValue.
Examples
Example #1
Nahradí v řetězci "hEllo world" podřetězec "hE" podřetězcem "He".
Replacer.ReplaceText("hEllo world", "hE", "He")
Result:
"Hello world"
Category
Replacer