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

int32_t UnicodeString::lastIndexOf ( const UChar *  srcChars,
int32_t  srcLength,
int32_t  start,
int32_t  length 
) const [inline]

Locate in this the last occurrence in the range [start, start + length) of the characters in srcChars, using bitwise comparison.

Parameters:
srcChars The text to search for.
srcLength the number of characters in srcChars
start The offset at which searching will start.
length The number of characters to search
Returns:
The offset into this of the start of srcChars, or -1 if not found. ICU 2.0

Definition at line 3840 of file unistr.h.

References lastIndexOf().

{ return lastIndexOf(srcChars, 0, srcLength, start, _length); }


Generated by  Doxygen 1.6.0   Back to index