6#ifndef CXXUTILS_STRINGUTILS_H
7#define CXXUTILS_STRINGUTILS_H
21 int atoi(std::string_view str);
23 double atof(std::string_view str);
28 std::vector<std::string>
tokenize(
const std::string& the_str,
29 std::string_view delimiters);
32 std::string_view delimiter);
34 std::vector<int>
tokenizeInt(
const std::string& the_str,
35 std::string_view delimiter);
std::vector< int > tokenizeInt(const std::string &the_str, std::string_view delimiter)
std::vector< std::string > tokenize(const std::string &the_str, std::string_view delimiters)
Splits the string into smaller substrings.
double atof(std::string_view str)
Converts a string into a double / float.
std::vector< double > tokenizeDouble(const std::string &the_str, std::string_view delimiter)
std::string_view eraseWhiteSpaces(std::string_view str)
Removes all trailing and starting whitespaces from a string.
int atoi(std::string_view str)
Helper functions to unpack numbers decoded in string into integers and doubles The strings are requir...