[#bsl-basic_string-0fb-find_last_not_of-02] = xref:bsl.adoc[bsl]::xref:bsl/basic_string-0fb.adoc[basic_string<char>]::find_last_not_of :relfileprefix: ../../ :mrdocs: Return the position of the _last_ occurrence of a character _different_ from the specified `character`, if such an occurrence can be found in this string (on or _before_ the optionally specified `position` if such a `position` is specified), and return `npos` otherwise. == Synopsis Declared in `<bslstl_string.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/basic_string-0fb/size_type.adoc[size_type] find_last_not_of( char character, xref:bsl/basic_string-0fb/size_type.adoc[size_type] position = npos) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#