s = "hello world from Lua" for w in string.gfind(s, "%a+") do print(w) end