bsl::basic_string::find_first_not_of

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

NameDescription
characterStringnull-terminated set of characters to exclude
positionindex at which to begin the search