$str » History » Version 3
  Per Amundsen, 08/12/2015 10:47 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 | text - The text to repeat. | ||
| 12 | N - Number of times to repeat. | ||
| 13 | |||
| 14 | 1 | Per Amundsen | *Example* | 
| 15 | |||
| 16 | <pre> | ||
| 17 | 3 | Per Amundsen | ; Prints the text 'text' repeated 4 times. | 
| 18 | 1 | Per Amundsen | //echo -ag $str(test, 4) | 
| 19 | </pre> |