print(string.rep("ab", 3)) -- a third argument goes between copies print(string.rep("x", 3, "-"))
string.rep with an optional separator