The comparison function compares the character data stored in two different string arrays. Returns information about whether a string array is less than, greater than or equal to another string array.
|source||the source string array to be compared with. |
|sourceLength||the length of the source string array. If this value is equal to -1, the string array is null-terminated. |
|target||the string that is to be compared with the source string. |
|targetLength||the length of the target string array. If this value is equal to -1, the string array is null-terminated. |
|status||possible error code |
- Returns an enum value. UCOL_GREATER if source is greater than target; UCOL_EQUAL if source is equal to target; UCOL_LESS if source is less than target ICU 2.6
Definition at line 363 of file tblcoll.cpp.
References U_SUCCESS, UCOL_EQUAL, and ucollator.