string.gmatch 函数会返回一个函数。通过这个函数可以遍历到一个字符串当中所有出现指定模式的地方。 words = {} for w in string.gmatch(s, "%a+") do words[#words + ...
確定! 回上一頁