[#bsl-basic_string-0f3-find_first_not_of-03]
= xref:bsl.adoc[bsl]::xref:bsl/basic_string-0f3.adoc[basic&lowbar;string&lt;char32&lowbar;t&gt;]::find&lowbar;first&lowbar;not&lowbar;of
:relfileprefix: ../../
:mrdocs:

Return the position of the _first_ occurrence of a character _not_ belonging to the specified `characterString` of the optionally specified `numChars` length, 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&period; If `numChars` is not specified, `CHAR&lowbar;TRAITS&colon;&colon;length(characterString)` is used&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/basic_string-0f3/size_type.adoc[size&lowbar;type]
find&lowbar;first&lowbar;not&lowbar;of(
    char32&lowbar;t const* characterString,
    xref:bsl/basic_string-0f3/size_type.adoc[size&lowbar;type] position,
    xref:bsl/basic_string-0f3/size_type.adoc[size&lowbar;type] numChars) const;
----


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