[#bsl-basic_string-0faf-find_last_not_of-0a0] = xref:bsl.adoc[bsl]::xref:bsl/basic_string-0faf.adoc[basic_string]::find_last_not_of :relfileprefix: ../../ :mrdocs: `find_last_not_of` overloads == Synopses Declared in `<bslstl_string.h>` Return the position of the last non‐matching character. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/basic_string-0faf/size_type.adoc[size_type] xref:bsl/basic_string-0faf/find_last_not_of-0c.adoc[find_last_not_of]( CHAR_TYPE character, xref:bsl/basic_string-0faf/size_type.adoc[size_type] position = npos) const; ---- [.small]#xref:bsl/basic_string-0faf/find_last_not_of-0c.adoc[_» more..._]# Return the position of the last non‐matching character. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/basic_string-0faf/size_type.adoc[size_type] xref:bsl/basic_string-0faf/find_last_not_of-021.adoc[find_last_not_of]( xref:bsl/basic_string-0faf.adoc[basic_string] const& characterString, xref:bsl/basic_string-0faf/size_type.adoc[size_type] position = npos) const noexcept; ---- [.small]#xref:bsl/basic_string-0faf/find_last_not_of-021.adoc[_» more..._]# Return the position of the last character in this string that is not found in the specified `characterString`, or `npos` if not found. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/basic_string-0faf/size_type.adoc[size_type] xref:bsl/basic_string-0faf/find_last_not_of-024.adoc[find_last_not_of]( CHAR_TYPE const* characterString, xref:bsl/basic_string-0faf/size_type.adoc[size_type] position = npos) const; ---- [.small]#xref:bsl/basic_string-0faf/find_last_not_of-024.adoc[_» more..._]# Return the position of the last non‐matching character. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class STRING_VIEW_LIKE_TYPE> xref:bsl/basic_string-0faf/size_type.adoc[size_type] xref:bsl/basic_string-0faf/find_last_not_of-0b.adoc[find_last_not_of]( STRING_VIEW_LIKE_TYPE const& characterString, xref:bsl/basic_string-0faf/size_type.adoc[size_type] position = npos) const noexcept(true); ---- [.small]#xref:bsl/basic_string-0faf/find_last_not_of-0b.adoc[_» more..._]# Return the position of the last non‐matching character. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/basic_string-0faf/size_type.adoc[size_type] xref:bsl/basic_string-0faf/find_last_not_of-0a9.adoc[find_last_not_of]( CHAR_TYPE const* characterString, xref:bsl/basic_string-0faf/size_type.adoc[size_type] position, xref:bsl/basic_string-0faf/size_type.adoc[size_type] numChars) const; ---- [.small]#xref:bsl/basic_string-0faf/find_last_not_of-0a9.adoc[_» more..._]# == Return Value * position of the last non‐matching character, or `npos` * the position of the last non‐match, or `npos` == Parameters [cols="1,4"] |=== | Name| Description | *character* | character value | *position* | starting index | *characterString* | the character set to exclude | *numChars* | number of characters |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#