4#ifndef CXXUTILS_STRINGUTILS_H
5#define CXXUTILS_STRINGUTILS_H
18 int atoi(std::string_view str);
20 double atof(std::string_view str);
25 std::vector<std::string>
tokenize(std::string_view the_str,
26 std::string_view delimiters);
27 std::vector<std::string>
tokenize(std::string_view the_str,
static const std::string delimiter("/")
std::vector< double > tokenizeDouble(std::string_view the_str, std::string_view delimiter)
std::string_view trimWhiteSpaces(std::string_view str) noexcept
Removes all trailing and starting whitespaces from a string.
std::vector< int > tokenizeInt(std::string_view str, std::string_view delimiter)
double atof(std::string_view str)
Converts a string into a double / float.
std::vector< std::string > tokenize(std::string_view the_str, std::string_view delimiters)
Splits the string into smaller substrings.
int atoi(std::string_view str)
Helper functions to unpack numbers decoded in string into integers and doubles The strings are requir...