[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'sysutils' (#rtl)

TStringHelper.PadRight

Pad the string on the right with an indicated character

Declaration

Source position: syshelph.inc line 124

public function TStringHelper.PadRight(

  ATotalWidth: Integer

):string; overload;

function TStringHelper.PadRight(

  ATotalWidth: Integer;

  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

TStringHelper.PadLeft

  

Pad the string on the left with an indicated character


Documentation generated on: Sep 28 2017