[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 144

public function TStringHelper.PadRight(

  ATotalWidth: SizeInt

):string; overload;

function TStringHelper.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

TStringHelper.PadLeft

  

Pad the string on the left with an indicated character


Documentation generated on: Jun 23 2021