pub fn take_lines<R: RangeBounds<usize>>(s: &str, range: R) -> String
Take a range of lines from a string.