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

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

AnsiStrIComp function

Targets: MS-DOS, OS/2, Win32


Strings Unit

Compares null terminated character strings case insensitively.

Declaration:
function AnsiIStrComp(S1, S2: PWChar): Longint;
function AnsiIStrComp(S1, S2: PChar): Longint;
Remarks:
AnsiStrIComp compares S1 to S2 without case sensitivity. The return value is:
 Condition  Return Value 
S1 > S2> 0
S1 < S2< 0
S1 = S2= 0
Win32 target:
AnsiStrIComp uses the current Windows locale.


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

- 4.61.2.6 -