string.repeatString()
Creates a string that contains a specified number of repetitions of the specified string.
string.repeatString( count=number )
Returns: String
| Argument | Description |
|---|---|
|
count
number,
required
|
edit
The number of times to repeat the string. |
Examples
edit str="I will Do! ";
writeDump(str.repeatString(3));