Find the first of any of these chars starting from the end
#include <string>
#include <iostream>
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
*/