fillString

fillString(string: String) updating;

The fillString method of the String primitive type fills the receiving string with repeated copies of the string specified in the string parameter up to the length of the receiver.

The following example shows the use of the fillString method.

vars
    stringValue : String;
begin
    stringValue := 'hello world';
    stringValue.fillString('foo');
    write stringValue;            // Outputs 'foofoofoofo'
end;