21 #ifndef ABSL_STRINGS_STRIP_H_ 22 #define ABSL_STRINGS_STRIP_H_ 89 #endif // ABSL_STRINGS_STRIP_H_ void remove_prefix(size_type n)
ABSL_MUST_USE_RESULT absl::string_view StripPrefix(absl::string_view str, absl::string_view prefix)
void remove_suffix(size_type n)
constexpr size_type size() const noexcept
bool EndsWith(absl::string_view text, absl::string_view suffix)
bool ConsumePrefix(absl::string_view *str, absl::string_view expected)
#define ABSL_MUST_USE_RESULT
ABSL_MUST_USE_RESULT absl::string_view StripSuffix(absl::string_view str, absl::string_view suffix)
bool StartsWith(absl::string_view text, absl::string_view prefix)
bool ConsumeSuffix(absl::string_view *str, absl::string_view expected)