Skip to main content

split_into_lines

Function split_into_lines 

Source
pub fn split_into_lines(text: &str, width: usize) -> Vec<String>
Expand description

Split text into lines that fit within the specified width.