Find the first thats not in this set, starting from the end
#include #include int main( ) { std::string s = "Search from the beginning"; std::cout << s.find_last_not_of("from") // Find the first that's not in this set, starting from the end << '\n'; } 24