[Pharo-users] OrderedCollection get all lines

Henrik Sperre Johansen henrik.s.johansen at veloxit.no
Wed May 11 10:38:01 EDT 2016

There's also PositionableStream >> #nextLine
which lets you write code like

[readStream atEnd] whileFalse: 
   [(self regexMatch: readStream nextLine)
       ifNotNil: [:matchingLine | "Record match somewhere here"]]


View this message in context: http://forum.world.st/OrderedCollection-get-all-lines-tp4894314p4894324.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

More information about the Pharo-users mailing list