Function rust_utils::utils::find_char[][src]

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

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