Previous Topic: CaString& Trim( void )

Next Topic: const char* GetMultiByteString(void)


bool IsValid(void) const

Determines whether the pointer to this string is NULL or not.

Owning Class

CaString

Arguments

None

Return Value

bool - true if valid, false if not

Notes

This function checks the value of the “this” pointer, not the string value.

Example

CaString d(“  My String  ”); bool bResult = d.IsValid();

More information: