pub fn split_edges(text: &str) -> (&str, &str, &str)
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.
text
lstrip
strip
rstrip