All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
StringTools.h File Reference
#include <algorithm>
#include <vector>
#include <string>

Go to the source code of this file.


 Missing string functions.


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. More...
std::vector< std::string > Aux::StringTools::split (const std::string &s, char delim= ' ')
 Split a string at delimiter and return vector of parts. More...
bool Aux::StringTools::ends_with (const std::string &str, const std::string &suffix)
 Determines whether str ends with suffix. More...
bool Aux::StringTools::starts_with (const std::string &str, const std::string &prefix)
 Determines whether str starts with prefix. More...