    #include <boost/algorithm/string.hpp>
    #include <iostream>
    #include <list>
    #include <string>
    #include <iterator>
    
    int main()
    {
        std::string s = "one,two,three,four";
        std::list<std::string> results;
    
        boost::split(results, s, boost::is_any_of(","));
        auto iter = std::next(results.begin(), 1);
        std::cout << *iter << "";
    }

