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

◆ last_index_of_any() [3/3]

size_t xtd::ustring::last_index_of_any ( const std::vector< value_type > &  values,
size_t  start_index,
size_t  count 
) const
noexcept

Reports the index of the last occurrence in this instance of any character in a specified array of characters. The search starts at a specified character position.

Parameters
valuesAn unicode character array containing one or more characters to seek
start_indexThe search starting position
countThe number of character positions to examine.
Returns
The index position of the first occurrence in this instance where any character in values was found; otherwise, std::basic_string<char_t>::npos if no character in values was found.