| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
Pad the string on the left with an indicated character
Source position: syshelph.inc line 142
public function TStringHelper.PadLeft(  | 
ATotalWidth: SizeInt  | 
):string; overload;  | 
ATotalWidth: SizeInt;  | 
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  |