[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Reading Particular contents from file
- From: steve donovan <steve.j.donovan@...>
- Date: Thu, 26 Jan 2012 08:31:29 +0200
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.