Advertisement
Guest User

new

a guest
Feb 24th, 2020
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.29 KB | None | 0 0
  1. #include <iostream>
  2. #include <string>
  3. #include <boost/algorithm/string.hpp>
  4.  
  5. using namespace std;
  6.  
  7. int main() {
  8.     string input("geeks\tfor\tgeeks");
  9.     vector<string> result;
  10.     boost::split(result,input, boost::is_any_of("\t"));
  11.     for(auto i:result) {
  12.         cout << i << " ";
  13.     }
  14.    
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement