Skip to content

Latest commit

 

History

History
45 lines (37 loc) · 1.4 KB

text-trimstart-method.md

File metadata and controls

45 lines (37 loc) · 1.4 KB
title description ms.author ms.date ms.topic author ms.reviewer
Text.TrimStart([Text]) Method
Removes all leading occurrences of a set of characters specified in an array from the current Text object.
solsen
05/14/2024
reference
SusanneWindfeldPedersen
solsen

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.

See Also

Text Data Type
Get Started with AL
Developing Extensions