get_first_char

Function get_first_char 

Source
pub fn get_first_char(value: &str) -> (usize, Option<char>)
Expand description

A helper for getting the first char of a provided &str. Returns the width of the character (possibly zero) and the character itself.