[#absl-StrContainsIgnoreCase-0d] = xref:absl.adoc[absl]::StrContainsIgnoreCase :relfileprefix: ../ :mrdocs: `StrContainsIgnoreCase` overloads == Synopses Declared in `<absl/strings/match.h>` Returns whether a given ASCII string `haystack` contains the ASCII character `needle`, ignoring case in the comparison. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:absl/StrContainsIgnoreCase-03.adoc[StrContainsIgnoreCase]( std::string_view haystack, char needle) noexcept; ---- [.small]#xref:absl/StrContainsIgnoreCase-03.adoc[_» more..._]# Returns whether a given ASCII string `haystack` contains the ASCII substring `needle`, ignoring case in the comparison. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:absl/StrContainsIgnoreCase-07.adoc[StrContainsIgnoreCase]( std::string_view haystack, std::string_view needle) noexcept; ---- [.small]#xref:absl/StrContainsIgnoreCase-07.adoc[_» more..._]# == Return Value `true` if `needle` is found in `haystack`, `false` otherwise. == Parameters [cols="1,4"] |=== | Name| Description | *haystack* | The string to search within. | *needle* | The character to search for. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#