Project

General

Profile

Actions

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)

Updated by Per Amundsen over 1 year ago · 4 revisions

Also available in: PDF HTML TXT