Template Function Aux::StringTools::split(Iterator, Iterator, Character)

Function Documentation

template<typename Iterator, typename Character>
std::vector<std::string> Aux::StringTools::split(Iterator begin, Iterator end, Character delim = Character{' '})

Splits a range of characters at a delimiter into a vector of strings.

Requirements: Character must be equality-comparable to char and it must be possible to construct a char from any Character. Iterator must be an input-iterator over Characters.