RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.AnsiStrIComp Function

Compares null terminated character strings case insensitively.

Pascal
function AnsiStrIComp(S1: PAnsiChar; S2: PAnsiChar): Integer;
function AnsiStrIComp(S1: PWideChar; S2: PWideChar): Integer;
C++
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!