Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Version: Available or changed with runtime version 15.0.
Returns a new Text that right-aligns the characters in this instance by padding them on the left, for a specified total length.
Syntax
Result := Label.PadLeft(Count: Integer [, Char: Char])
Parameters
Label
Type: Label
An instance of the Label data type.
Count
Type: Integer
The number of characters in the resulting string, equal to the number of original characters plus any additional padding characters.
[Optional] Char
Type: Char
A padding character.
Return Value
Result
Type: Text
The end result Text.
Related information
Label data type
Getting started with AL
Developing extensions