readUntil!(str, s, c)
readWhile!(str, s, read?)
readUntil!: (StringBuffer, %, Character) Character readWhile!: (StringBuffer, %, Character Boolean) Character skipUntil!: (%, Character) Character skipWhile!: (%, Character Boolean) Character
|read?||Character Boolean||a predicate|
readUntil!(str, s, c) reads characters from s and stores them in str, until the character c is read. Returns c if it is read, eof otherwise. readWhile!(str, s, read?) reads characters from s and stores them in str as long as read? is true on the characters read. Returns either the first character read for which read? is false or eof. skipUntil! and skipWhile! work like readUntil! and readWhile! except that the characters read are not stored anywhere.