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

Paul DeBruicker pdebruic at gmail.com
Tue Jul 31 12:35:59 EDT 2012


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