Crossware

Table of Contents        Previous topic       Next topic       

C++ COMPILER LIBRARY FUNCTIONS->String Class Functions->Member Functions->find_first_not_of

#include <string>

size_t find_first_not_of(const string& str, size_t pos = 0) const

Starting from pos, return the position of the first occurrence of any of the characters not of str, or npos if no match is found.

size_t find_first_not_of(const char* s, size_t pos, size_t n) const

Starting from pos, return the position of the first occurrence of any of the characters not of array of length n whose first element is s, or npos if no match is found.

size_t find_first_not_of(const char* s, size_t pos = 0) const

Starting from pos, return the position of the first occurrence of any of the characters not of array of length strlen(s) whose first element is s, or npos if no match is found.

size_t find_first_not_of(char c, size_t pos = 0) const

Starting from pos, return the position of the first occurrence of any character other than c, or npos if no match is found.