Answers for "find a specific character in a string c+="

C++
4

c++ string contains

if (string1.find(string2) != std::string::npos) {
    std::cout << "found!" << 'n';
}
Posted by: Guest on April-02-2020

Code answers related to "find a specific character in a string c+="

Browse Popular Code Answers by Language