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

◆ index_of() [1/6]

size_t xtd::ustring::index_of ( value_type  value) const
noexcept

Reports the index of the first occurrence of the specified character in this string.

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