[#BloombergLP-bdlb-StringRefUtil-strrstrCaseless] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/StringRefUtil.adoc[StringRefUtil]::strrstrCaseless :relfileprefix: ../../../ :mrdocs: Return a `bslstl::StringRef` 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 `bslstl::StringRef()` 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., `bslstl::StringRef(string.end(), 0)`); == Synopsis Declared in `<bdlb_stringrefutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bslstl/StringRef.adoc[bslstl::StringRef] strrstrCaseless( xref:BloombergLP/bslstl/StringRef.adoc[bslstl::StringRef] const& string, xref:BloombergLP/bslstl/StringRef.adoc[bslstl::StringRef] const& subString); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#