Apache OpenOffice (AOO) Bugzilla – Issue 25176
request for enhancement: OUString::endsWithIgnoreAsciiCase()
Last modified: 2004-05-11 13:07:35 UTC
Hey Stephan, what about adding the following member function to OUString? inline bool endsWithIgnoreAsciiCase( char const * end, sal_Int32 end_len ) { sal_Int32 len = pData->length; return (end_len <= len && rtl_ustr_ascii_compareIgnoreAsciiCase( pData->buffer + len - end_len, end ) == 0); }
fixed, added method rtl::OUString::endsWithIgnoreAsciiCaseAsciiL
set milestone
verified (see sal/qa/rtl/strings/test_oustring_endswith.cxx)
reassigned
fixed.
verified.
.