wcschr method
Finds the first occurrence of the wide character wc in the wide string wcs.
Returns the index of the character, or -1 if the character is not found.
Implementation
int wcschr(List<wchar_t> wcs, wchar_t wc) {
return wcs.indexOf(wc);
}