fastest way to check if a string is in a string c++ code example
Example: c++ contains
if (s1.find(s2) != std::string::npos) {
std::cout << "found!" << '\n';
}
if (s1.find(s2) != std::string::npos) {
std::cout << "found!" << '\n';
}