| FillStr Function |
Unit
QESBPCSConvert
Declaration
Function FillStr(const Ch: Char; const N: LongWord): string;
Description
Also See: BlankStr
| Parameters |
| Ch | the Character to use for filling. |
| N | the length of the resultant string. |
Category
Extra String Handling RoutinesImplementation
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; |
|
|