RAD Studio VCL Reference
SysUtils.AnsiStrIComp Function

Compares null terminated character strings case insensitively.

function AnsiStrIComp(S1: PAnsiChar; S2: PAnsiChar): Integer;
function AnsiStrIComp(S1: PWideChar; S2: PWideChar): Integer;
int AnsiStrIComp(PAnsiChar S1, PAnsiChar S2);
int AnsiStrIComp(PWideChar S1, PWideChar S2);

AnsiStrIComp compares S1 to S2, without case sensitivity. The compare operation is controlled by the current locale. The return value is the same as for CompareStr.

Note: This function supports multi-byte character sets (MBCS).

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!