Compares strings up to a specified maximum number of characters, without case sensitivity.
function StrLIComp(const Str1: PChar; const Str2: PChar; MaxLen: Cardinal): Integer;
int StrLIComp(const const char * Str1, const const char * Str2, unsigned MaxLen);
SysUtils
StrLIComp compares Str1 to Str2, up to a maximum length of MaxLen characters, without case sensitivity. The return value is indicated in the following table:
Return value |
Condition |
<0 |
Str1 sorts before Str2 |
=0 |
Str1is the same as Str2 |
>0 |
Str1 sorts after Str2 |
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|