Logo Search packages:      
Sourcecode: icu version File versions

UnicodeString & UnicodeString::foldCase ( uint32_t  options = 0 )

Case-fold the characters in this string. Case-folding is locale-independent and not context-sensitive, but there is an option for whether to include or exclude mappings for dotted I and dotless i that are marked with 'I' in CaseFolding.txt. The result may be longer or shorter than the original.

Parameters:
optionsEither U_FOLD_CASE_DEFAULT or U_FOLD_CASE_EXCLUDE_SPECIAL_I
Returns:
A reference to this. ICU 2.0

Definition at line 212 of file unistr_case.cpp.

Referenced by UnicodeSet::closeOver(), SimpleDateFormat::matchQuarterString(), SimpleDateFormat::matchString(), UnicodeSetTest::TestCloseOver(), and u_getFC_NFKC_Closure().

                                        {
    /* The Locale parameter isn't used. Use "" instead. */
    return caseMap(0, "", options, FOLD_CASE);
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index