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

◆ last_index_of() [6/6]

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

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

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