CString::Empty

voidEmpty();

Remarks

Makes this CString object an empty string and frees memory as appropriate.

For more information, see n Visual C++ Programmer’s Guide

Example

The following example demonstrates the use of CString::Empty.

// example for CString::Empty
CString s( "abc" );
s.Empty();
ASSERT( s.GetLength( ) == 0 );

CString OverviewClass MembersHierarchy Chart

See Also   CString::IsEmpty