Generate a string which is n copies of the string passed concatenated together. string.rep(s, n) strrep(s, n)