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

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

Locate in this the first occurrence of the BMP code point c in the range [start, start + length), using bitwise comparison.

c The code unit to search for.
start the offset into this at which to start matching
length the number of characters in this to search
The offset into this of c, or -1 if not found. ICU 2.0

Definition at line 3806 of file unistr.h.

{ return doIndexOf(c, start, _length); }

Generated by  Doxygen 1.6.0   Back to index