Function Dune::XT::Common::tokenize

template<>
inline int Dune::XT::Common::tokenize(const std::string &msg, const std::string &separators, const int mode)

No documentation provided.

template<class T = std::string>
inline int Dune::XT::Common::tokenize(const std::string &msg, const std::string &separators, const int mode = <recovery-expr>())

convenience wrapper around boost::algorithm::split to split one string into a vector of strings

:param msg: the spring to be split :param separators: a list of separators, duh :param mode: token_compress_off –> potentially empty strings in return, token_compress_on –> empty tokens are discarded :returns: all tokens in a vector, if msg contains no separators, this’ll contain msg as its only element