Function rust_utils::utils::find_char
source · [−]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