CString::SpanIncluding

Call this member function to extract characters from the string, starting with the first character, which are in the set of characters identified by lpszCharSet. If the first character of the string is not in the character set, then SpanIncluding returns an empty string. Otherwise, it returns a sequence of consecutive characters which are in the set.

Syntax

CString SpanIncluding( LPCTSTR lpszCharSet ) const;
throw( CMemoryException );

At a Glance

Header File Afx.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CString Overview, CString Member Functions, Simple Value Types, CString::SpanExcluding