FSF.LStrnicmp

Far Manager

LStrnicmp

The FSF.LStrnicmp function compares portions of two strings without case sensitivity. This function works in OEM code page.
int WINAPI LStrnicmp(
  const char *Str1,
  const char *Str2,
  int Num
);

Parameters

Str1, Str2
The strings you want to compare.
Num
Number of characters to compare.

Return value

This function returns:
-1 - if s1 < s2
1 - if s1 > s2
0 - if s1 == s2

Remarks

Example