Hi,I am getting two empty strings from the following program,void boost_split_test() {const string &text("-");vector<string> tokens;split(tokens, text, boost::is_any_of("-"), token_compress_on);cout << "size of tokens " << tokens.size() << '\n';for (auto const &e : tokens)cout << e.size() << '\n';}
Output:size of tokens 2 0 0Is this expected output? I expecting an zero split parts. Could someone clarify?