str.repeat
source written repeat times, with separator between the copies ("" for 0 times). The result may hold at most 40,960 characters.
str.repeat(source: string, repeat: int, separator: string = "") -> string
Parameters
sourcestring: The text to repeat; na gives na.repeatint: How many copies, 0 or more (a fraction is cut off); below 0 stops the script with a runtime error.separatorstring: Text put between the copies (default "").
Example
str.repeat("-", 10)