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

int32_t UnicodeString::indexOf ( const UnicodeString text,
int32_t  start,
int32_t  length 
) const [inline]

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

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

Definition at line 3785 of file unistr.h.

References indexOf(), and length().

{ return indexOf(text, 0, text.length(), start, _length); }

Generated by  Doxygen 1.6.0   Back to index