Mega Code Archive
Categories
/
C++
/
String
Find the first thats not in this set
#include
#include
int main( ) { std::string s = "Search from the beginning"; std::cout << s.find_first_not_of("the") // Find the first that's not in this set << '\n'; // } /* 0 */