tlx
split_view.hpp File Reference

Go to the source code of this file.

Namespaces

 tlx
 

Functions

Split and Join
template<typename Functor >
static void split_view (char sep, const std::string &str, Functor &&callback, std::string::size_type limit=std::string::npos)
 Split the given string at each separator character into distinct substrings, and call the given callback with a StringView for each substring. More...