Table of Contents

CzStr::IsStr

Description

A test for whether the string data in a CzStr object is identical to another C-style string.

Function prototype

bool CzStr::IsStr(const char* lpTextStr);

Arguments

Name Type Comment
lpTextStr const char* A hancle to the C-style string to be compared to the contents of the CzStr object.

Return value

True if the contents of the string pointed to by lpTextStr is identical to the string data in the CzStr object. False otherwise.

Comments

This function is equivalent to CzStr::Compare, but returns true (identical) or false (different).