RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.AnsiStrIComp Function

Compares null terminated character strings case insensitively.

Pascal
function AnsiStrIComp(S1: PChar; S2: PChar): Integer;
C++
int AnsiStrIComp(const char * S1, const char * S2);

SysUtils

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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!