returns the index of the first occurrence of \a ch in the current string, doing a reverse search from \a index; returns \c UString::npos if nothing is found
| 826 | size_type find_last_of(code_point ch, size_type index = npos) const; |
| 827 | //! returns the index of the first occurrence of \a ch in the current string, doing a reverse search from \a index; returns \c UString::npos if nothing is found |
| 828 | size_type find_last_of(char ch, size_type index = npos) const |
| 829 | { |
| 830 | return find_last_of(static_cast<code_point>(ch), index); |
| 831 | } |
| 832 | #if MYGUI_IS_NATIVE_WCHAR_T |
| 833 | //! returns the index of the first occurrence of \a ch in the current string, doing a reverse search from \a index; returns \c UString::npos if nothing is found |
| 834 | size_type find_last_of(wchar_t ch, size_type index = npos) const; |