Set the collation strength used in a UCollator. The strength influences how strings are compared.
|coll ||The UCollator to set. |
|strength ||The desired collation strength; one of UCOL_PRIMARY, UCOL_SECONDARY, UCOL_TERTIARY, UCOL_QUATERNARY, UCOL_IDENTICAL, UCOL_DEFAULT |
- See also:
- ucol_getStrength ICU 2.0
Definition at line 7068 of file ucol.cpp.
References U_ZERO_ERROR, and UCOL_STRENGTH.