[#bsl-basic_string-0ce-rfind-02] = xref:bsl.adoc[bsl]::xref:bsl/basic_string-0ce.adoc[basic_string<char16_t>]::rfind :relfileprefix: ../../ :mrdocs: Return the starting position of the _last_ occurrence of a substring whose value equals that of the specified `characterString` of the optionally specified `numChars` length, if such a substring can be found in this string (on or _before_ the optionally specified `position` if such a `position` is specified), and return `npos` otherwise. If `numChars` is not specified, `CHAR_TRAITS::length(characterString)` is used. == Synopsis Declared in `<bslstl_string.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/basic_string-0ce/size_type.adoc[size_type] rfind( char16_t const* characterString, xref:bsl/basic_string-0ce/size_type.adoc[size_type] position, xref:bsl/basic_string-0ce/size_type.adoc[size_type] numChars) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#