chapel-lang/chapel — pull request #173 by benharsh (2014-08-20 16:34:44+00:00)
Title: Feature request for a readUntil function

IO's readline code could be easily adapted into a new 'readUntil' function that would take a uint(8) argument representing the ascii character to stop reading at. 'readline' could then become a simple wrapper around 'readUntil', passing 0x0A or "\n" as an argument. While no one may have asked for it yet, I can see it being a valuable feature in the future.