Added in 1.9.0

$str(text,N)

Returns text repeated N times.

The repeated text can be no longer than 4151 characters.

Parameters

Parameter Description
text The text to repeat.
N Number of times to repeat.

Example

; Prints the text 'text' repeated 4 times.
//echo -ag $str(test, 4)