rept( text, repetitions )
Concatenates the text to itself a specified number of times and returns the result.
Keyword | Type | Description |
---|---|---|
|
Text |
The text to be repeated. |
|
Number |
The number of times the text will be repeated. The original text is not counted as a repetition. |
Text
rept("do",3)
returns dododo