Edit

Share via


Label.TrimEnd([Text]) Method

Version: Available or changed with runtime version 15.0.

Removes all trailing occurrences of a set of characters specified in an array from the current Text object.

Syntax

Result :=   Label.TrimEnd([Chars: Text])

Parameters

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

[Optional] Chars
 Type: Text
A string containing the characters to remove.

Return Value

Result
 Type: Text
A copy of this string without all trailing occurrences of the characters specified in the Chars parameter.

Label data type
Getting started with AL
Developing extensions