Version: Available or changed with runtime version 15.1.
Returns a new Text in which all occurrences of a specified string in the current instance are replaced with another specified string.
Syntax
Result :=   TextConst.Replace(OldValue: Text, NewValue: Text)
Parameters
TextConst
 Type: TextConst
An instance of the TextConst data type.
OldValue
 Type: Text
The string to be replaced.
NewValue
 Type: Text
The string to replace all occurrences of OldValue.
Return Value
Result
 Type: Text
The end result Text.
See Also
TextConst data type
Getting started with AL
Developing extensions