🌈 搜索
📅  最后修改于: 2022-03-11 14:44:47.685000             🧑  作者: Mango
auto char_to_find = 'a' if (str.find(char_to_find) != std::string::npos) { // character found }