fork download
  1. #include <string>
  2. #include <iostream>
  3.  
  4. int main() {
  5.  
  6. std::string a_str = "Hello, World!";
  7.  
  8. bool notFound = a_str.rfind("<CDATA") == std::string::npos;
  9.  
  10. std::cout << notFound << "\n";
  11.  
  12. }
Success #stdin #stdout 0.02s 2856KB
stdin
Standard input is empty
stdout
1