Replace Function

Description:
Replace a specified part of a text with a replacement text.
Returns:
Text
Parameters:
Parameter
Data Type
Description
1
Text
The text.
2
Whole Number
The position at which the deleted characters start.
3
Whole Number
The number of characters to be deleted.
4
Text
The replacement text.
Example:
When using functions inside a field, remember the field brackets:
{Replace(VariableName, 1, 4, ReplaceVariableName)}
Expression
Result
Replace( "Sub-Way", 1, 3, "One" )
"One-Way"

Related content