[Pharo-users] iterating through an ascii file by line

Stéphane Ducasse stephane.ducasse at inria.fr
Tue Jul 31 15:14:14 EDT 2012


It would be good to have configuration for this package.

On Jul 31, 2012, at 6:35 PM, Paul DeBruicker wrote:

> I just found this:
> 
> http://www.squeaksource.com/SimpleTextParser.html
> 
> which does what I want.  Thanks and sorry for the noise.
> 
> 
> 
> 
> 
> On 07/31/2012 09:30 AM, Camillo Bruni wrote:
>> IMO there are only default methods for iterating over the lines of string
>> 
>> String >> #linesDo:
>> 
>> but most probably this is now what you want :P, so #nextDelimited: is your friend...
>> 
>> 
>> On 2012-07-31, at 18:25, Paul DeBruicker <pdebruic at gmail.com> wrote:
>> 
>>> Hi -
>>> 
>>> Is there an easy/standard way to open an ascii file and iterate through it line by line?
>>> 
>>> 
>>> I want to put several files contents into their own OrderedCollections and then do awful things to them.  The files are ~500MB each
>>> 
>>> 
>>> Thanks
>>> 
>>> Paul
>>> 
>> 
>> 
> 
> 





More information about the Pharo-users mailing list