Home C C++ Java Python Perl PHP SQL JavaScript Linux Selenium QT Online Test

Home » Forum » x-Forum » Question

boost::algorithm::split_regex alternatives in std++11

I am looking for an alternative instead of boost::algorithm::split_regex in std++11. 
in boost::algorithm::split_regex, we can have something like: 

// separated string ( output ) stored in a vector of strings
vector<string> strs; 

// the input string
string str;

boost::algorithm::split_regex(strs, str, boost::regex("__\\|__"));

Is there an alternative that I can use which takes a string and regex, and produces the vector of strings as output. ( if you have a function which does the same, I appreciate if you can reply to me )

Thank you 

Posted by fatinejat 2020-08-17 01:13:01

No Ans Posted

Please login to comment

Log In

Ask New Question