在Lua 5.1 中,它还将这些函数导出作为string 类型的方法。 ... s = "hello world from Lua" for w in string.gmatch(s, "%a+") do --匹配最长连续且只含字母的字符串 ...
確定! 回上一頁