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

◆ index_of_any() [1/3]

size_t xtd::ustring::index_of_any ( const std::vector< value_type > &  values) const
noexcept

Reports the index of the first occurrence in this instance of any character in a specified array of characters.

Parameters
valuesAn unicode character array containing one or more characters to seek
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.