if (std::string::npos != s.find_first_of("0123456789")) { std::cout << "digit(s)found!" << std::endl; }