You can use string.sub() to get a substring of length 1: > s = "abc123" > string.sub(s, 1, 1) a. This also works for empty strings:
確定! 回上一頁