Edit

Share via


TextConst.TrimStart([Text]) Method

Version: Available or changed with runtime version 15.1.

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

Syntax

Result :=   TextConst.TrimStart([Chars: Text])

Parameters

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

See Also

TextConst data type
Getting started with AL
Developing extensions