MCPcopy Create free account
hub / github.com/MyGUI/mygui / find_last_of

Function find_last_of

MyGUIEngine/include/MyGUI_UString.h:828–831  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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;

Callers 1

find_last_ofMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected