[Overview][Constants][Types][Procedures and functions] |
Add spaces to the right of a string till a certain length is reached.
Source position: strutils.pp line 143
function PadRight( |
const S: String; |
N: Integer |
):String; |
S |
|
String to pad. |
N |
|
Minimal length of the resulting string. |
String of length N, padded to the right with spaces
PadRightadd spaces to the left of the string Still the result reaches length Len. If the string Shas length equal to or largert than Len, no spaces are added, and the string Sis returned as-is. The resulting string is S, left-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 |