_stricmp, _wcsicmp, _mbsicmp, _stricmp_l, _wcsicmp_l, …
https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/stricmp-wcsicmp-mbsicmp-stricmp-l-wcsicmp-l-mbsicmp-l?view=msvc-170
OverviewSyntaxReturn valueRemarksRequirementsSee alsoThe _stricmp function compares string1 and string2 after converting each character to lowercase, …The _strcmpi function is equivalent to _stricmp and is provided for backward compatibility only.Because _stricmp does lowercase comparisons, it may result in unexpected behavior.To illustrate when case conversion by _stricmp affects the outcome of a comparison, assume that you have the two strings JOHNSTON and JOHN_HENRY. The string JOHN_HENRY will be considered less than JOHNSTON because the "_" has a lower ASCII value than a lowercase S. In fa…See more on learn.microsoft.comCode sampleprintf( " strcmp: String 1 is %s string 2\n", tmp );result = _stricmp( string1, string2 );if( result > 0 ) strcpy_s( tmp, _countof(tmp), "greater than" );else if( result < 0 )...See more on Microsoft DocsFeedback The _stricmp function compares string1 and string2 after converting each character to lowercase, …The _strcmpi function is equivalent to _stricmp and is provided for backward compatibility only. Because _stricmp does lowercase comparisons, it may result in unexpected behavior.To illustrate when case conversion by _stricmp affects the outcome of a comparison, assume that you have the two strings JOHNSTON and JOHN_HENRY. The string JOHN_HENRY will be considered less than JOHNSTON because the "_" has a lower ASCII value than a lowercase S. In fa…
The _stricmp function compares string1 and string2 after converting each character to lowercase, …The _strcmpi function is equivalent to _stricmp and is provided for backward compatibility only.
Because _stricmp does lowercase comparisons, it may result in unexpected behavior.To illustrate when case conversion by _stricmp affects the outcome of a comparison, assume that you have the two strings JOHNSTON and JOHN_HENRY. The string JOHN_HENRY will be considered less than JOHNSTON because the "_" has a lower ASCII value than a lowercase S. In fa…
DA: 59 PA: 18 MOZ Rank: 44