StrContainsIgnoreCase overloads
Declared in <absl/strings/match.h>
Returns whether a given ASCII string haystack contains the ASCII character needle, ignoring case in the comparison.
bool
StrContainsIgnoreCase(
std::string_view haystack,
char needle) noexcept;
» more...
Returns whether a given ASCII string haystack contains the ASCII substring needle, ignoring case in the comparison.
bool
StrContainsIgnoreCase(
std::string_view haystack,
std::string_view needle) noexcept;
» more...
true if needle is found in haystack, false otherwise.
| Name | Description |
|---|---|
| haystack | The string to search within. |
| needle | The character to search for. |