string.rep
Repeats the string n times and concatenates them using the separator sep.
string.rep(str: string, n: number, sep: string): string
Arguments
| Name | Description | Type |
|---|---|---|
| str | String to repeat. | string |
| n | Number of times to repeat the string. | number |
| sep | Separator to use between the strings. None by default | string |
Returns string