From RAD Studio API Documentation
Jump to: navigation, search


int  CompareIC(const UnicodeString& rhs) const; //ignorecase


Type Visibility Source Unit Parent
function public ustring.h System UnicodeString


Compares UnicodeString to another specified string, case-insensitively.

CompareIC compares a UnicodeString instance to rhs, without case sensitivity. Use Compare to compare with case sensitivity. The comparison operation is controlled by the current Windows locale. The return value is displayed in the following table.

Condition Return Value

S1 > S2

> 0

S1 < S2

< 0

S1 = S2

= 0

See Also