Show: Object Pascal C++
Display Preferences

System.SysUtils.StrIComp

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function StrIComp(const Str1, Str2: PAnsiChar): Integer;
function StrIComp(const Str1, Str2: PWideChar): Integer;

C++

extern DELPHI_PACKAGE int __fastcall StrIComp _DEPRECATED_ATTRIBUTE1("Moved to the AnsiStrings unit") (const char * Str1, const char * Str2)/* overload */;

Properties

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

Description

Warning: Ansi version of StrIComp is deprecated. Please use AnsiStrings unit.

Compares two strings without case sensitivity.

Call StrIComp to compare two strings without case sensitivity. StrIComp returns a value greater than 0 if Str1 > Str2, less than 0 if Str1 < Str2, and returns 0 if the strings are equal except for differences in case.

When working with international characters, use AnsiStrIComp instead.

See Also

Code Examples


Personal tools
Translations