std::wcschr (3) - Linux Manuals
std::wcschr: std::wcschr
NAME
Synopsis
Defined in header <cwchar>
const wchar_t* wcschr( const wchar_t* str, wchar_t ch );
wchar_t* wcschr( wchar_t* str, wchar_t ch );
Finds the first occurrence of the wide character ch in the wide string pointed to by str.
Parameters
str - pointer to the null-terminated wide string to be analyzed
ch - wide character to search for
Return value
Pointer to the found character in str, or NULL if no such character is found.
Example
// Run this code
Output:
See also
find (public member function of std::basic_string<CharT,Traits,Allocator>)
strchr (function)
wcsrchr (function)
wcspbrk (function)