[#bsl-basic_string-0fb-find_first_not_of-0d] = xref:bsl.adoc[bsl]::xref:bsl/basic_string-0fb.adoc[basic_string<char>]::find_first_not_of :relfileprefix: ../../ :mrdocs: Return the position of the _first_ occurrence of a character _not_ belonging to the specified `characterString`, 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-0fb/size_type.adoc[size_type] find_first_not_of( xref:bsl/basic_string-0faf.adoc[basic_string<char>] const& characterString, xref:bsl/basic_string-0fb/size_type.adoc[size_type] position = 0) const noexcept; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#