# repeat

# repeat char

creates a string with duplicating single character

string repeat(char c, int repeat)
repeat('-', 5)
// -----

# repeat string

creates a string with duplicating a string

string repeat(string v, int repeat)
repeat("ff", 3)
// ffffff
Last Updated: 7/16/2020, 11:00:33 PM