편집

다음을 통해 공유


Text.PadRight(Integer [, Char]) Method

Version: Available or changed with runtime version 1.0.

Returns a new string that left-aligns the characters in this string by padding them with spaces on the right, for a specified total length.

Syntax

Result :=   Text.PadRight(Count: Integer [, Char: Char])

Note

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

Parameters

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

Text Data Type
Get Started with AL
Developing Extensions