function Pad(const Value: String; PadLen: Integer;
PadChar: Char=' '): String
The Pad function returns the Value input parameter padded to the length specified by the PadLen input parameter. The optional PadChar input parameter specifies the character to be used for padding the Value input parameter, and defaults to a space (' ') character. The return value is a String value.
The padding is inserted on the left side of the string.