Utopia  2
Framework for studying models of complex & adaptive systems.
Namespaces | Functions
string.hh File Reference
#include <string>
#include <vector>
#include <boost/algorithm/string/join.hpp>
#include <boost/algorithm/string/split.hpp>
#include <boost/algorithm/string/classification.hpp>
Include dependency graph for string.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 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. More...
 
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. More...