t = {} for i = #input, 1, -1 do table.insert(t, input:sub(i, i)) end return table.concat(t, "")