#include #include #include int main() { const std::string s { "abcdefghijk" }; const auto it = std::find(std::begin(s), std::end(s), '1'); std::cout << std::boolalpha << (it == std::end(s)) << std::endl; }