U_CAPI UCollationResult ucol_strcoll ( const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength)

Compare two strings

Documentation

Compare two strings. The strings will be compared using the normalization mode and options specified in ucol_open or ucol_openRules
Returns:
The result of comparing the strings; one of UCOL_EQUAL, UCOL_GREATER, UCOL_LESS
Parameters:
coll - The UCollator containing the comparison rules.
source - The source string.
sourceLength - The length of source, or -1 if null-terminated.
target - The target string.
targetLength - The length of target, or -1 if null-terminated.
See Also:
ucol_greater
ucol_greaterOrEqual
ucol_equal

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de