Go to the documentation of this file.
33 #ifndef ABSL_STRINGS_MATCH_H_
34 #define ABSL_STRINGS_MATCH_H_
38 #include "absl/strings/string_view.h"
48 return haystack.find(needle, 0) != haystack.npos;
52 return haystack.find(needle) != haystack.npos;
100 #endif // ABSL_STRINGS_MATCH_H_
bool StartsWithIgnoreCase(absl::string_view text, absl::string_view prefix) noexcept
bool StartsWith(absl::string_view text, absl::string_view prefix) noexcept
#define ABSL_NAMESPACE_END
#define ABSL_NAMESPACE_BEGIN
ABSL_NAMESPACE_BEGIN bool EqualsIgnoreCase(absl::string_view piece1, absl::string_view piece2) noexcept
ABSL_NAMESPACE_BEGIN bool StrContains(absl::string_view haystack, absl::string_view needle) noexcept
bool EndsWithIgnoreCase(absl::string_view text, absl::string_view suffix) noexcept
unsigned char suffix[65536]
static const char prefix[]
bool EndsWith(absl::string_view text, absl::string_view suffix) noexcept
grpc
Author(s):
autogenerated on Fri May 16 2025 02:59:22