pub fn find_char<T: Into<String>>(text: T, sym: char) -> usize
Expand description

Returns the location (starting from 0) of the first instance of a character in a string

Skips any leading digits

Useful for parsing arguments

Returns the string’s length if the char is not found