[Overview][Resource strings][Constants][Types][Procedures and functions][Index] |
Add spaces to the left of a string till a certain length is reached.
Source position: strutils.pp line 190
function PadLeft( |
const S: string; |
N: Integer |
):string; |
S |
|
String to pad. |
N |
|
Minimal length of the resulting string. |
String of length N, padded to the left with spaces
PadLeft add spaces to the left of the string S till the result reaches length Len. If the string S has length equal to or larger than Len, no spaces are added, and the string S is returned as-is. The resulting string is S, right-justified on length Len.
None.
|
Add spaces to the left of a string till a certain length is reached. |
|
|
Pad the string to a certain length, so the string is centered. |
|
|
Add characters to the left of a string till a certain length |
|
|
Add chars at the end of a string till it reaches a certain length |