Redigera

Dela via


Text.TrimEnd([Text]) Method

Version: Available or changed with runtime version 1.0.

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

Syntax

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

Note

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

Parameters

Text
 Type: Text
An instance of the Text 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.

Text Data Type
Get Started with AL
Developing Extensions