s = "hello world from Lua" for w in string.gmatch(s, "%a+") do print(w) end. will iterate over all the words from string s , printing one per line.
確定! 回上一頁