59 tokens.push_back((*i));
73 if (*(--str.end()) ==
'\"' and *str.begin() ==
'\"')
74 str = str.substr(1, str.size() - 2);
static void explode(char delim, const std::string &str, std::list< std::string > &values)
static void slim(std::string &str)
Strips leading and trailing double quotes from string.
static void split(const std::string &str, char delimiter, std::vector< std::string > &tokens)
Splits a string into separate strings based on the delimiter.