API:System.AnsiStringT.AnsiCompareIC

From RAD Studio API Documentation
Jump to: navigation, search

C++

int  AnsiCompareIC(const AnsiStringT& rhs) const {

Properties

Type Visibility Source Unit Parent
function public dstring.h System AnsiStringT

Description

Compares the AnsiStringBase to another specified string (case insensitively).

System.AnsiStringT.AnsiCompareIC inherits from System.AnsiStringBase.AnsiCompareIC. All content below this line refers to System.AnsiStringBase.AnsiCompareIC.

Compares the AnsiStringBase to another specified string (case insensitively).

AnsiCompareIC compares AnsiStringBase to rhs, without case sensitivity. The comparison operation is controlled by the current Windows locale. The return value is shown below.



Condition Return Value

S1 > S2

> 0

S1 < S2

< 0

S1 = S2

= 0