[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Padleft
Purpose Expands and left justifies a string.
Decln. PadLeft(Str:String;Size:byte;Pad:Char);string;
Returns String
Remarks Str is the source string.
Size is the new string length.
Pad is the character to expand the string with.
Example
VAR
TTT:STRING;
BEGIN
TTT := PADLEFT(' ASTERISK ',20,'*');
END;
The string TTT is assigned the value " ASTERISK **********".
See Also:
PadCenter
PadRight
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson