EXAMPLES
 The following code fragment splits a wide character string on  ASCII space, tab and newline characters and writes the tokens to standard output: 
const wchar_t *seps = L" \t\n";
wchar_t *last, *tok, text[] = L" \none\ttwo\t\tthree  \n";
for (tok = wcstok(text, seps, &last); tok != NULL;
    tok = wcstok(NULL, seps, &last))
   wprintf(L"%ls\n", tok);
 
COMPATIBILITY
 Some early implementations of  wcstok omit the context pointer argument,  last, and maintain state across calls in a static variable like  strtok does.   
SEE ALSO
 strtok(3), wcschr(3), wcscspn(3), wcspbrk(3), wcsrchr(3), wcsspn(3)  
STANDARDS