32std::vector<std::string>
splitString(std::string
const& str);
40std::list<std::string>
splitString(
const std::string& str,
char delim);
51 std::string stringToReplace);
62 std::stringstream strs(str, std::stringstream::in | std::stringstream::out);
72void trim(std::string& str,
char ch =
' ');
84std::string
getUniqueName(std::vector<std::string>
const& existing_names,
85 std::string
const& input_name);
void simplify(std::string &str)
std::string randomString(std::size_t const length)
Returns a random string of the given length containing just a-z,A-Z,0-9.
std::string getUniqueName(std::vector< std::string > const &existing_names, std::string const &input_name)
Append '-' and a number such that the name is unique.
std::string replaceString(const std::string &searchString, const std::string &replaceString, std::string stringToReplace)
void trim(std::string &str, char ch)
std::vector< std::string > splitString(std::string const &str)
T str2number(const std::string &str)