fork download
  1. #include <iostream>
  2. #include<string>
  3. using namespace std;
  4.  
  5. int main() {
  6. string test = "CLEANUP_1231";
  7. cout << test.substr(0,8) << endl;
  8. return 0;
  9. }
Success #stdin #stdout 0.01s 5280KB
stdin
Standard input is empty
stdout
CLEANUP_