StringOfString returns a string made up of aCount repetitions of aText.

aText can be any string - either a single character or more.

Declaration: Function StringOfString( const aText : string; aCount : longint) : string

Below is an example.

procedure OnMapEvent(var Value:Variant);
begin
Value := StringOfString('abc',5); //returns 'abcabcabcabcabc'
end;