| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
Pad the string on the left with an indicated character
Source position: syshelph.inc line 122
| public function TStringHelper.PadLeft( | 
| ATotalWidth: Integer | 
| ):string; overload; | 
| ATotalWidth: Integer; | 
| PaddingChar: Char | 
| ):string; overload; | 
PadLeft pads the string (Self) on the left (i.e. at the beginning) till it reaches length ATotalWidth with character PaddingChar. If PaddingChar is omitted, a space is used.
| 
 | Pad the string on the right with an indicated character |