TStringHelper.PadRight

Pad the string on the right with an indicated character

Declaration

Source position: syshelph.inc line 144

public 
  function PadRight(ATotalWidth: SizeInt) : string;  Overload;
  function PadRight(ATotalWidth: SizeInt; PaddingChar: Char) : string
                   ;  Overload;

Description

PadLeft pads the string (Self) on the right (i.e. at the end) till it reaches length ATotalWidth with character PaddingChar. If PaddingChar is omitted, a space is used.

See also

Name Description
TStringHelper.PadLeft Pad the string on the left with an indicated character