StrRepeat(s,n)
or
string.rep(s, n)
Generates a string that is n copies of the string passed, concatenated together.
> print(StrRepeat("HyperMath ",3))
HyperMath HyperMath HyperMath
> print(StrRepeat("HyperMath \n",3))
HyperMath
HyperMath
HyperMath