Extracts characters from is and stores them into str until the delimitation character delim is found (or the newline ...
www.cplusplus.com