27 #ifndef GUM_UTILS_STRING_H 28 #define GUM_UTILS_STRING_H 37 #ifndef HAVE_MKSTEMP // mainly windows 55 std::string
toLower(std::string str);
61 bool endsWith(std::string
const& value, std::string
const& ending);
69 std::vector< std::string >
split(
const std::string& orig,
70 const std::string& delimiter);
79 std::string
replace(
const std::string& s,
80 const std::string& val,
81 const std::string& new_val);
88 #endif // GUM_NO_INLINE
std::string getUniqueFileName()
Returns a path to a unique file name.
Contains usefull methods for random stuff.
gum is the global namespace for all aGrUM entities
std::vector< std::string > split(const std::string &str, const std::string &delim)
Split str using the delimiter.
bool endsWith(std::string const &value, std::string const &ending)
Returns true if value ends with ending.
std::string toLower(std::string str)
Returns the lowercase version of str.
std::string replace(const std::string &s, const std::string &val, const std::string &new_val)
not usable for gcc 4.8 std::vector<std::string> split( const std::string& orig, const std::string& de...