Logo Search packages:      
Sourcecode: icu version File versions  Download package

int8_t UnicodeString::compare ( int32_t  start,
int32_t  length,
const UChar *  srcChars 
) const [inline]

Compare the characters bitwise in the range [start, start + length) with the first length characters in srcChars

Parameters:
start the offset at which the compare operation begins
length the number of characters to compare.
srcChars the characters to be compared
Returns:
The result of bitwise character comparison: 0 if this contains the same characters as srcChars, -1 if the characters in this are bitwise less than the characters in srcChars, +1 if the characters in this are bitwise greater than the characters in srcChars. ICU 2.0

Definition at line 3600 of file unistr.h.

{ return doCompare(start, _length, srcChars, 0, _length); }


Generated by  Doxygen 1.6.0   Back to index