Does the same thing as compare but limits the comparison to a specified length
|source||the source string to be compared with. |
|target||the string that is to be compared with the source string. |
|length||the length the comparison is limited to |
- Returns a byte value. GREATER if source (up to the specified length) is greater than target; EQUAL if source (up to specified length) is equal to target; LESS if source (up to the specified length) is less than target.
- ICU 2.6 use the overload with UErrorCode &
Reimplemented in RuleBasedCollator, and TestCollator.
Definition at line 416 of file coll.cpp.
References compare(), and U_ZERO_ERROR.