20 #ifndef UTILS_STRINGS_REMOVE_SUFFIX_H
21 #define UTILS_STRINGS_REMOVE_SUFFIX_H
28 inline bool RemoveSuffix(
const std::string &suffix, std::string *
string) {
32 string->erase(string->size() - suffix.size(), suffix.size());
bool HasSuffix(const std::string &string, const std::string &suffix)
bool RemoveSuffix(const std::string &suffix, std::string *string)