Function split_first_char::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.
pub fn split_first_char(text: &str) -> Option<(char, &str)>
Split a string into a pair of first character and the rest.