CString SpanExcluding( const char* pszCharSet ) const
throw( CMemoryException );
pszCharSet
A string interpreted as a set of characters.
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.
A copy of the substring that contains only characters not in pszCharSet.