Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
CString::SpanIncluding
CString                                     Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  CString SpanIncluding( const char* pszCharSet ) const
  throw( CMemoryException );
 
  Parameter    Description
 
  <pszCharSet> A string interpreted as a set of characters.
 
  Remarks
 
  Extracts the largest substring that contains 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 not in the character set, then
  SpanIncluding returns an empty string.
 
  Return Value
 
  A copy of the substring that contains only characters in <pszCharSet>.
 
  See Also
 
  CString::SpanExcluding
 
 
                                     -♦-