Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Version: Available or changed with runtime version 15.0.
Returns a new Text in which all occurrences of a specified string in the current instance are replaced with another specified string.
Syntax
Result := Label.Replace(OldValue: Text, NewValue: Text)
Parameters
Label
Type: Label
An instance of the Label 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.
Related information
Label data type
Getting started with AL
Developing extensions