CString::Compare

Call this member function to compare this CString object with another string using the Windows function lstrcmp. It is not locale-sensitive.

Syntax

int Compare( LPCTSTR lpsz ) const;

At a Glance

Header File Afx.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CString Overview, CString Member Functions, Simple Value Types, CString::CompareNoCase