System.SysUtils.AnsiStrIComp

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

extern DELPHI_PACKAGE int __fastcall AnsiStrIComp _DEPRECATED_ATTRIBUTE1("Moved to the AnsiStrings unit") (char * S1, char * S2)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils System.SysUtils

Description

Warning: The ANSI version of AnsiStrIComp is deprecated. Please use the AnsiStrings unit.

Compares null-terminated character strings case-insensitively.

AnsiStrIComp compares S1 to S2, without case sensitivity. The comparison 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).

See Also