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

int32_t UnicodeString::lastIndexOf ( const UnicodeString text  )  const [inline]

Locate in this the last occurrence of the characters in text, using bitwise comparison.

text The text to search for.
The offset into this of the start of text, or -1 if not found. ICU 2.0

Definition at line 3884 of file unistr.h.

References length().

Referenced by LocaleKey::fallback(), lastIndexOf(), NumberFormat::makeInstance(), UnicodeStringTest::TestCompare(), and UnicodeStringTest::TestSearching().

{ return lastIndexOf(text, 0, text.length(), 0, length()); }

Generated by  Doxygen 1.6.0   Back to index