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

◆ index_of() [4/6]

size_t xtd::ustring::index_of ( const ustring value,
size_t  start_index 
) const
noexcept

Reports the index of the first 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.