CString::Empty

Syntax

void Empty();

Remarks

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

Example

CString s1( "abc" );

CString s2;

s1.Empty();

ASSERT( s1 == s2 );

See Also

CString::IsEmpty, “CString Exception Cleanup” on page 598