ReplaceAll Function
Description:
Replace all occurrences of a sub-text within a text with a replacement text.
Returns:
Text
Parameters:
Parameter | Data Type | Description |
|---|---|---|
1 | Text | The text. |
2 | Text | The characters being replaced. |
3 | Text | The replacement characters. |
4 | Boolean | Case sensitivity flag. |
Examples:
When using functions inside a field, remember the field brackets:
{ReplaceAll(VariableName, "t", "b", false)}
Expression | Result |
|---|---|
ReplaceAll( "TotteR", "t", "b", false ) | "bobbeR" |
ReplaceAll( "TotteR", "t", "b", true ) | "TobbeR" |