KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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() { ... }
Tags (comma-separated)
Save Edits
Cancel