[#bsl-basic_string-0faf-find_first_not_of-086] = xref:bsl.adoc[bsl]::xref:bsl/basic_string-0faf.adoc[basic_string]::find_first_not_of :relfileprefix: ../../ :mrdocs: Find the first character not in `characterString`. == Synopsis Declared in `<bslstl_string.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/basic_string-0faf/size_type.adoc[size_type] find_first_not_of( CHAR_TYPE const* characterString, xref:bsl/basic_string-0faf/size_type.adoc[size_type] position = 0) const; ---- == Description Return the position of the first character in this string that is not found in the specified `characterString`, or `npos` if not found. == Return Value index of the first matching character, or `npos` if none == Parameters [cols="1,4"] |=== | Name| Description | *characterString* | null‐terminated set of characters to exclude | *position* | index at which to begin the search |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#