Previous: AnsiStrLComp function To the Table of Content Next: AnsiStrLower function

- 4.61.2.8 -
Standard Units
Strings Unit
Strings Unit Procedures and Functions

AnsiStrLIComp function

Targets: MS-DOS, OS/2, Win32


Strings Unit

Compares two strings, case-insensitively, up to the first MaxLen bytes.

Declaration:
function AnsiStrLIComp(S1, S2: PWChar; MaxLen: DWORD): Longint;
function AnsiStrLIComp(S1, S2: PChar; MaxLen: DWORD): Longint;
Remarks:
AnsiStrLIComp compares S1 to S2, without case sensitivity. If S1 or S2 is longer than MaxLen characters, AnsiStrLIComp only compares up to the first MaxLen characters. The return value is:
 Condition  Return Value 
S1 > S2> 0
S1 < S2< 0
S1 = S2= 0
Win32 target:
AnsiStrLIComp uses the current Windows locale.


Previous: AnsiStrLComp function To the Table of Content Next: AnsiStrLower function
AnsiStrLComp function Table of Content AnsiStrLower function

- 4.61.2.8 -