Logo Search packages:      
Sourcecode: icu version File versions

int8_t UnicodeString::caseCompare ( const UnicodeString text,
uint32_t  options 
) const [inline]

Compare two strings case-insensitively using full case folding. This is equivalent to this->foldCase(options).compare(text.foldCase(options)).

Parameters:
text Another string to compare this one to.
options Either U_FOLD_CASE_DEFAULT or U_FOLD_CASE_EXCLUDE_SPECIAL_I
Returns:
A negative, zero, or positive integer indicating the comparison result. ICU 1.8

Definition at line 3131 of file unistr.h.

References fLength.

Referenced by UnicodePropertySet::createFromPattern(), TransliteratorIDParser::registerSpecialInverse(), UnicodePropertySet::resemblesPattern(), TransliteratorIDParser::specsToSpecialInverse(), DecimalFormat::subparse(), and UnicodeStringTest::TestCompare().

                                                                            {
  return doCaseCompare(0, fLength, text, 0, text.fLength, options);
}


Generated by  Doxygen 1.6.0   Back to index