Find the first character not in characterString.

Synopsis

Declared in <bslstl_string.h>

size_type
find_first_not_of(
    CHAR_TYPE const* characterString,
    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

Name

Description

characterString

null‐terminated set of characters to exclude

position

index at which to begin the search

Created with MrDocs