Hey there! I am needing to read large text files up to 100mb in size. I need to read each line Search for a string and write the results to a log. What would be the best way of doing this? Should I read each line individually and search it then move on to the next one?
Share
Allocating a string of up to 200mb isn’t that much at all these days. Just read it all at once and process it.