How can I serach specific part charcter in a string in 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';
}