🌈 搜索
📅  最后修改于: 2022-03-11 14:44:58.278000             🧑  作者: Mango
std::string s = "Hello"; if (s.find('e') != std::string::npos) cout << "Found"; else cout << "Not Found";