[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANNOUNCE] Lua 5.0 (work0)
- From: Roberto Ierusalimschy <roberto@...>
- Date: Fri, 07 Jun 2002 09:12:38 -0300
> I forgot to mention gfind.
gfind is a generator to be used with the generic for. For example
for word in string.gfind(s, "%w+") do
...
end
will iterate over all words in `s'.
-- Roberto