Skip to main content

split_lines

Function split_lines 

Source
pub fn split_lines<S: AsRef<str>>(text: S) -> Vec<String>
Expand description

Split text into lines (\n / \r\n — no .as_bytes() needed in Windjammer).