Syntax
repeat(string, count, [sep])
Description
The repeat() function returns a new string consisting of count copies of the string. An optional separator can be used to join the string.
Example
println("ba", repeat("na",2)) println("ba", repeat("na",2,":")) banana bana:na