[#bsl-basic_string-0faf-rfind-0d2]
= xref:bsl.adoc[bsl]::xref:bsl/basic_string-0faf.adoc[basic&lowbar;string]::rfind
:relfileprefix: ../../
:mrdocs:

Same as the three&hyphen;argument `rfind` overload with default position&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;string&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/basic_string-0faf/size_type.adoc[size&lowbar;type]
rfind(
    CHAR&lowbar;TYPE const* characterString,
    xref:bsl/basic_string-0faf/size_type.adoc[size&lowbar;type] position = npos) const;
----

== Return Value

position of the match, or `npos` if not found

== Parameters

[cols="1,4"]
|===
| Name| Description
| *characterString*
| pointer to characters
| *position*
| starting index
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
