Text.Trim() Method

Version: Available or changed with runtime version 1.0.

Returns a new Text in which all leading and trailing white-space characters from the current Text object are removed.

Syntax

Result :=   Text.Trim()

Note

This method can be invoked without specifying the data type name.

Parameters

Text
 Type: Text
An instance of the Text data type.

Return Value

Result
 Type: Text
A copy of this string without all leading and trailing white-space characters.

See Also

Text Data Type
Get Started with AL
Developing Extensions