[#bsl-basic_string-0f3-find_first_not_of-0c] = xref:bsl.adoc[bsl]::xref:bsl/basic_string-0f3.adoc[basic_string<char32_t>]::find_first_not_of :relfileprefix: ../../ :mrdocs: Return the position of the _first_ occurrence of a character _different_ from the specified `character`, if such an occurrence can be found in this string (on or _after_ 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-0f3/size_type.adoc[size_type] find_first_not_of( char32_t character, xref:bsl/basic_string-0f3/size_type.adoc[size_type] position = 0) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#