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