Edit

Share via


Label.Trim() Method

Version: Available or changed with runtime version 15.0.

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

Syntax

Result :=   Label.Trim()

Parameters

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

Return Value

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

Label data type
Getting started with AL
Developing extensions