std::string / Finding characters in a string / Ess

Run Settings
LanguageC++
Language Version
Run Command
#include <iostream> #include <string> using namespace std; int main() { std::string str = "dog dog cat cat"; std::cout << "Found at position: " << str.find_last_of("gzx") << '\n'; }
Editor Settings
Theme
Key bindings
Full width
Lines