52 #ifndef ABSL_STRINGS_ASCII_H_ 53 #define ABSL_STRINGS_ASCII_H_ 62 namespace ascii_internal {
170 std::string result(s);
188 std::string result(s);
204 str->erase(str->begin(), it);
218 str->erase(str->rend() - it);
239 #endif // ABSL_STRINGS_ASCII_H_ bool ascii_isalnum(unsigned char c)
const_reverse_iterator rend() const noexcept
const_reverse_iterator rbegin() const noexcept
void AsciiStrToLower(std::string *s)
bool ascii_isblank(unsigned char c)
bool ascii_isgraph(unsigned char c)
string_view substr(size_type pos, size_type n=npos) const
bool ascii_isprint(unsigned char c)
bool ascii_isspace(unsigned char c)
bool ascii_isalpha(unsigned char c)
void AsciiStrToUpper(std::string *s)
void RemoveExtraAsciiWhitespace(std::string *str)
char ascii_toupper(unsigned char c)
bool ascii_isupper(unsigned char c)
#define ABSL_MUST_USE_RESULT
constexpr const_iterator begin() const noexcept
ABSL_MUST_USE_RESULT absl::string_view StripAsciiWhitespace(absl::string_view str)
ABSL_MUST_USE_RESULT absl::string_view StripLeadingAsciiWhitespace(absl::string_view str)
bool ascii_islower(unsigned char c)
bool ascii_ispunct(unsigned char c)
bool ascii_isascii(unsigned char c)
bool ascii_isxdigit(unsigned char c)
bool ascii_isdigit(unsigned char c)
char ascii_tolower(unsigned char c)
bool ascii_iscntrl(unsigned char c)
const unsigned char kPropertyBits[256]
constexpr const_iterator end() const noexcept
ABSL_MUST_USE_RESULT absl::string_view StripTrailingAsciiWhitespace(absl::string_view str)