[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] Penlight 0.9.8
- From: Petite Abeille <petite.abeille@...>
- Date: Tue, 29 Nov 2011 19:21:33 +0100
On Nov 29, 2011, at 9:21 AM, steve donovan wrote:
>  http://stevedonovan.github.com/Penlight/
The extensive Penlight treatise mentions "File-style I/O on Strings". Which is nice.
Would anyone have the reverse? String-style methods on Files?
local aFile = io.open( 'test.txt', 'rb' )
if aFile:find( 'foo', 1, true ) do
In other words, string methods  working in terms of a file object? :)