Project

General

Profile

$str » History » Version 4

Per Amundsen, 02/23/2023 07:37 PM

1 1 Per Amundsen
_Added in 1.9.0_
2
3
*$str(text,N)*
4
5
Returns text repeated N times.
6
7 3 Per Amundsen
_The repeated text can be no longer than 4151 characters._
8 1 Per Amundsen
9 3 Per Amundsen
*Parameters*
10
11 4 Per Amundsen
table(ktable).
12
|*Parameter*|*Description*|
13
| text | The text to repeat. |
14
| N | Number of times to repeat. |
15 3 Per Amundsen
16 1 Per Amundsen
*Example*
17
18
<pre>
19 3 Per Amundsen
; Prints the text 'text' repeated 4 times.
20 1 Per Amundsen
//echo -ag $str(test, 4)
21
</pre>