This example shows how to locate a code element sequence in a Unicode string.
#include <stdio.h>
#include <unidef.h>
int main(void) {
UniChar ucs1[] = L"computer";
UniChar ucs2[] = L"put";
UniChar *puni;
puni = UniStrstr(ucs1, ucs2);
if (puni)
printf("The code element sequence was found\n");
return (ULS_SUCCESS);
}