std find string c++ code example
Example: c++ string contains
if (string1.find(string2) != std::string::npos) {
std::cout << "found!" << '\n';
}
if (string1.find(string2) != std::string::npos) {
std::cout << "found!" << '\n';
}