So this is just a thought... Say I wanted to insert a line into a file at the first linebreak, but I didn't want to read the entire file into memory. Is there a way to just read the file into memory line by line and then, when the first linebreak is reached, insert a line and close the file reader?
Thank you!
Sorry for the earlier typo in my title/description