FillStr Function
Returns a string filled with the given character.

Unit
QESBPCSConvert

Declaration
Function FillStr(const Ch: Char; const N: LongWord): string;

Description
Also See: BlankStr

Parameters
Ch the Character to use for filling.
the length of the resultant string.

Category
Extra String Handling Routines

Implementation

function FillStr (const Ch: Char; const N: LongWord): string;
begin
     SetLength (Result, N); // Set Length of string
     FillChar (Result [1], N, Ch); // Fill with Character
End;


HTML generated by Time2HELP
http://www.time2help.com