[Overview][Constants][Types][Procedures and functions] |
Add chars at the end of a string till it reaches a certain length
Source position: strutils.pp line 141
function AddCharR( |
C: Char; |
const S: String; |
N: Integer |
):String; |
C |
|
The character to be added |
S |
|
The string to be treated |
N |
|
The minimal length the string should have |
The resulting string with length N
AddCharRadds characters (C) to the right of S till the length Nis reached, and returns the resulting string. If the length of Sis already equal to or larger than N, then no characters are added. The resulting string can be thought of as a left-aligned version of S, with length N.
None
|
Add characters to the left of a string till a certain length |