iterate over the lines of a string,do_something_with(line)