I'm looking for a string indexof function from the std namespace that returns an integer of a matching string similar to the java function of the same name. Something like:
std::string word = "bob";
int matchIndex = getAString().indexOf( word );
where getAString() is defined like this:
std::string getAString() { ... }