Text.repeat
repeatcount
Group: Calculations
Documentation
Takes an integer and returns a new text, consisting of count concatenated
copies of self.
Arguments
count: The number of times that the textselfshould be repeated to make the new text.
Examples
Repeat the text "ABBA" five times.
"ABBA".repeat 5 == "ABBAABBAABBAABBAABBA"
Repeat the text "Hello " twice.
"Hello ".repeat 2 == "Hello Hello "