Replacer.ReplaceText
Syntax
Replacer.ReplaceText(text as nullable text, old as text, new as text) as nullable text
About
Replaces the old
text in the original text
with the new
text. This replacer function can be used in List.ReplaceValue
and Table.ReplaceValue
.
Example 1
Replace the text "hE" with "He" in the string "hEllo world".
Usage
Replacer.ReplaceText("hEllo world", "hE", "He")
Output
"Hello world"
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for