In lua 5.1, you can iterate of the characters of a string this in a couple of ways. The basic loop would be: for i = 1, #str do local c = str:sub(i, ...
確定! 回上一頁