Find the first that's not in this set
#include <string> #include <iostream> int main( ) { std::string s = "Search from the beginning"; std::cout << s.find_first_not_of("the") // Find the first that's not in this set << '\n'; // } /* 0 */