[#BloombergLP-bdlb-StringViewUtil-strrstrCaseless] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/StringViewUtil.adoc[StringViewUtil]::strrstrCaseless :relfileprefix: ../../../ :mrdocs: Return a view of the last case‐insensitive match of `subString`. == Synopsis Declared in `<bdlb_stringviewutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static std::string_view strrstrCaseless( std::string_view const& string, std::string_view const& subString); ---- == Description Return a `bsl::string_view` object referring to the last occurrence in (the referent data of) the specified `string` at which (the referent data of) the specified `subString` is found using case‐insensitive comparisons, or `bsl::string_view()` if there is no such occurrence. See {Caseless Comparisons}. If `subString` has zero length then a zero‐length reference to the end of `string` is returned (i.e., `bsl::string_view(string.end(), 0)`); == Return Value view of the last case‐insensitive match, or empty if not found == Parameters [cols="1,4"] |=== | Name| Description | *string* | string view to search | *subString* | substring to find |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#