text | The string to be repeated (maximum length is 255 characters). |
n | The number of repetitions. |
Return: | Repeat returns a STRING containing n concatenations of the string text.. |
The Repeat function returns the text string repeated n times.
Example:
A := STD.Str.Repeat('ABC',3); //A contains 'ABCABCABC'