#include #include "wcindex.h" const wchar_t* wcindex( const wchar_t* str, wchar_t wc) { while (*str) if (*str == wc) return str; else str++; return NULL; }