std::core::string

index_of_char

fn usz? String.index_of_char(self, char character)
Find the index of the first incidence of a string.

Parameters