API:System.AnsiStringT.AnsiCompareIC
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 |