string.h
Go to the documentation of this file.
104 inline bool ends_with(const std::string &input, const std::string &ending, const bool is_case_insensitive=false) {
109 return (input_lower.compare (input.length() - ending.length(), ending.length(), ending_lower) == 0);
Definition: string.h:116
std::istream & cross_platform_getline(std::istream &is, std::string &line)
Definition: string.h:123
Definition: enum_description.h:15
void camel_from(std::string &str, const char sep=' ')
Definition: string.h:74
void camel_to(std::string &str, const std::string &sep=" ")
Definition: string.h:55
bool ends_with(const std::string &input, const std::string &ending, const bool is_case_insensitive=false)
Definition: string.h:104
bool contains_ASCII_only(const std::string &input)
Definition: string.h:90
bool replace(std::string &str, const std::string &from, const std::string &to)
Definition: string.h:39
bool operator()(const std::string &a, const std::string &b) const
Definition: string.h:117
std::string to_lower(const std::string &input)
Definition: string.h:98