|
Utopia 2
Framework for studying models of complex & adaptive systems.
|
#include <string>#include <vector>#include <boost/algorithm/string/join.hpp>#include <boost/algorithm/string/split.hpp>#include <boost/algorithm/string/classification.hpp>

Go to the source code of this file.
Namespaces | |
| namespace | Utopia |
Functions | |
| template<class Cont = std::vector<std::string>> | |
| std::string | Utopia::join (const Cont &cont, const std::string &delim=", ") |
| Joins together the strings in a container. | |
| template<class SeqCont = std::vector<std::string>> | |
| SeqCont | Utopia::split (const std::string &s, const std::string &delims=" ") |
| Splits a string and returns a container of string segments. | |