1#ifndef UTOPIA_CORE_STRING_HH
2#define UTOPIA_CORE_STRING_HH
7#include <boost/algorithm/string/join.hpp>
8#include <boost/algorithm/string/split.hpp>
9#include <boost/algorithm/string/classification.hpp>
17template<
class Cont = std::vector<std::
string>>
22 return boost::algorithm::join(
cont,
delim);
44template<
class SeqCont = std::vector<std::
string>>
53 boost::algorithm::token_compress_on);
Container select_entities(const Manager &mngr, const DataIO::Config &sel_cfg)
Select entities according to parameters specified in a configuration.
Definition select.hh:213
SeqCont split(const std::string &s, const std::string &delims=" ")
Splits a string and returns a container of string segments.
Definition string.hh:45
std::string join(const Cont &cont, const std::string &delim=", ")
Joins together the strings in a container.
Definition string.hh:18