split_first_char

Function split_first_char

source
pub fn split_first_char(text: &str) -> Option<(char, &str)>
Expand description

Split a string into a pair of first character and the rest.