1 #ifndef MUQSTRINGUTILITIES_H
2 #define MUQSTRINGUTILITIES_H
10 namespace StringUtilities{
13 std::vector<std::string>
Split(std::string str,
char delim =
',');
16 std::string
Strip(std::string str);
19 std::string
Combine(std::vector<std::string> strs,
char delim =
',');
std::string Combine(std::vector< std::string > strs, char delim=',')
Combine a vector of strings with a specified delimiter. The opposite of Split.
std::string Strip(std::string str)
Strip the whitespace off the beginning and end of a string.
std::vector< std::string > Split(std::string str, char delim=',')
Split a string into parts based on a particular character delimiter. Also Strips whitespace from part...