Compares two strings (case insensitive).
The other string used for comparison.
The generic-text function _tcsicmp, which is defined in TCHAR.H, maps to either _stricmp, _wcsicmp or _mbsicmp, depending on the character set that is defined at compile time. Each function performs a case-insensitive comparison of the strings. The comparison depends on the LC_CTYPE aspect of the locale but not LC_COLLATE. For more information, see.
//typedef CStringT< TCHAR, StrTraitATL< TCHAR > > CAtlString; CAtlString s1( "abc" ); CAtlString s2( "ABD" ); _ASSERT( s1.CompareNoCase( s2 ) < 0 ); // Compare with a CAtlString. _ASSERT( s1.CompareNoCase( "ABE" ) < 0 ); // Compare with LPTSTR string.