Mega Code Archive
Find the first of any of these chars starting from the end
#include
#include
int main( ) {
std::string s = "Search from the beginning";
std::cout << s.find_last_of("abg") << '\n'; // Find the first of any of these chars starting from the end
}
/*
24
*/