for example if i have a number 1 then i want it to be “A”
but maybe the number is 5 so i want my string to be “AAAAA” instead.
How do i do this?
local letter = "A"
local times = 3
print(string.rep(letter, times))
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.