SyntaxFix
Write A Post
Hire A Developer
Questions
Use std::string and find.
std::string
find
std::string str = "/user/desktop/abc/post/"; bool exists = str.find("/abc/") != std::string::npos;