Returns a string with blank spaces added to the beginning of the string until the string is of the given length.Unit
QESBPCSConvert
Declaration
Function PadLeftStr(const S: string; const Len: LongWord): string;
Description
Also See: PadLeftChStr, PadRightStr, LeftAlignStr
S | the String to pad. |
Len | the length of the resultant substring. If Length (S) >= Len then NO padding occurs, and S is returned. |
Category
Extra String Handling Routines
Implementation
function PadLeftStr (const S: string; const Len: LongWord): string;
begin
Result := PadChLeftStr (S, ' ', Len);
End; |
HTML generated by Time2HELP
|
http://www.time2help.com