Skip to main content

split_edges

Function split_edges 

Source
pub fn split_edges(text: &str) -> (&str, &str, &str)
Expand description

text split into its leading whitespace, its core and its trailing whitespace (Python’s lstrip / strip / rstrip boundaries). A whitespace-only text is all lead.