Redigera

Dela via


Text.TrimStart([Text]) Method

Version: Available or changed with runtime version 1.0.

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

Syntax

Result :=   Text.TrimStart([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 leading occurrences of the characters specified in the Chars parameter.

Text Data Type
Get Started with AL
Developing Extensions