find_last_not_of

Finds the last position that is not one of the elements in the function's argument starting from the beginning.

  size_type find_last_not_of 

  (const basic_string& str,size_type pos = npos) const;

  size_type find_last_not_of 

  (const charT* s, size_type pos, size_type n) const;

  size_type find_last_not_of 

  (const charT* s, size_type pos = npos) const;

  size_type find_last_not_of(charT c, size_type pos = npos) 
  const;  
Remarks

The found position or npos if not found.