lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> 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