File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -330,6 +330,7 @@ EShellError = class(Exception);
330
330
function ChangeDateOfADay (aDate : TDateTime; aYear, aMonth, aDay : Word) : TDateTime;
331
331
// returns n times a char
332
332
function FillStr (const C : Char; const Count : Integer) : string;
333
+ function FillStrEx (const value : string; const Count : Integer) : string;
333
334
// checks if string exists in array of string
334
335
function StrInArray (const aValue : string; const aInArray : array of string; aCaseSensitive : Boolean = True) : Boolean;
335
336
// checks if integer exists in array of integer
@@ -869,6 +870,13 @@ function FillStr(const C : Char; const Count : Integer) : string;
869
870
for i := 1 to Count do Result := Result + C;
870
871
end ;
871
872
873
+ function FillStrEx (const value : string; const Count : Integer) : string;
874
+ var
875
+ i : Integer;
876
+ begin
877
+ Result := ' ' ;
878
+ for i := 1 to Count do Result := Result + value ;
879
+ end ;
872
880
873
881
function StrInArray (const aValue : string; const aInArray : array of string; aCaseSensitive : Boolean = True) : Boolean;
874
882
var
You can’t perform that action at this time.
0 commit comments