Return the position of the last occurrence of a character different from the specified character, if such an occurrence can be found in this string (on or before the optionally specified position if such a position is specified), and return npos otherwise.

Synopsis

Declared in <bslstl_string.h>

size_type
find_last_not_of(
    CHAR_TYPE character,
    size_type position = npos) const;

Created with MrDocs