gz/common/StringUtils.hh
Forward declarations for the common classes.
STL class.
STL class.
std::vector< std::string > Split(const std::string &_orig, char _delim)
split at a one character delimiter to get a vector of something
bool StartsWith(const std::string &_s1, const std::string &_s2)
return true if string starts with another string
bool EndsWith(const std::string &_s1, const std::string &_s2)
return true if string ends with another string
std::string PluralCast(const std::string &_baseWord, const int _n)
Choose whether to use a singular or plural version of a noun based on the value of an integer quantit...
std::string Join(const std::vector< std::string > &_orig, const std::string &_delim)
Join a sequence of strings with a delimiter.