Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CString::SpanExcluding
CString                                     Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  CString SpanExcluding( const char* pszCharSet ) const
  throw( CMemoryException );
 
  Parameter    Description
 
  <pszCharSet> A string interpreted as a set of characters.
 
  Remarks
 
  Extracts the largest substring that excludes only the characters in the
  specified set <pszCharSet>; starts from the first character in this
  CString object.
 
  If the first character of the string is included in the character set,
  then SpanExcluding returns an empty string.
 
  Return Value
 
  A copy of the substring that contains only characters not in
  <pszCharSet>.
 
  See Also
 
  CString::SpanIncluding
 
 
                                     -♦-