CTString::Empty
Syntax
void Empty( )
Parameters
This method has no parameters.
Description
Frees the string and sets it to NULL.
Return
None.
Example
CTString database_name;
database_name.Empty();
memset(buffer, ' ', sizeof(buffer));
printf("\n\nEnter Database name: ");
gets(buffer);
if (strlen(buffer) > 0)
{
database_name = buffer;
}
See also
Delete(), IsEmpty(), SetLength()