lua-users home
lua-l archive

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


On Wed, Jan 25, 2012 at 4:21 PM, Sandeep Ghai <sandeep.ghai92@gmail.com> wrote:
> I want to read particular line from the file.

Well, you could read the file, line by line by calling f:read().  For
each of those lines, try to match against a Lua string pattern, which
can also be used to extract the value you are looking for.

steve d.