read_lines_with_blank
Read lines from a file or string while keeping blank lines and not ending on blank lines.
Usage
use *;
let f = open?;
let mut reader = new;
let lines_file = match read_lines_with_blank ;
let str: &str = "line1\n\n\nline2\n";
let lines_str = match read_lines_with_blank_from_str ;