33 #ifndef ABSL_STRINGS_MATCH_H_ 34 #define ABSL_STRINGS_MATCH_H_ 46 return haystack.
find(needle, 0) != haystack.
npos;
53 return prefix.
empty() ||
62 return suffix.
empty() ||
89 #endif // ABSL_STRINGS_MATCH_H_ size_type find(string_view s, size_type pos=0) const noexcept
static constexpr size_type npos
constexpr size_type size() const noexcept
bool EndsWith(absl::string_view text, absl::string_view suffix)
constexpr bool empty() const noexcept
bool EndsWithIgnoreCase(absl::string_view text, absl::string_view suffix)
bool StartsWithIgnoreCase(absl::string_view text, absl::string_view prefix)
constexpr const_pointer data() const noexcept
bool StartsWith(absl::string_view text, absl::string_view prefix)
bool StrContains(absl::string_view haystack, absl::string_view needle)
bool EqualsIgnoreCase(absl::string_view piece1, absl::string_view piece2)