xtd 0.2.0
Loading...
Searching...
No Matches

◆ last_index_of() [3/6]

size_t xtd::ustring::last_index_of ( value_type  value,
size_t  start_index 
) const
noexcept

Reports the index of the last occurrence of the specified character in this string. The search starts at a specified character position.

Parameters
valueAn unicode character to seek
start_indexThe search starting position
Returns
The index position of value if that character is found, or std::basic_string<char_t>::npos if it is not.