This example shows how to search Unicode strings.

#include <stdio.h>
#include <unidef.h>

int main(void) {

UniChar    ucs1[] = L"This is the source string";
UniChar    ucs2[] = L"source";
size_t     result;

         result = UniStrcspn(ucs1, ucs2);

         return (ULS_SUCCESS);

}



[Back: UniStrcspn - Remarks]
[Next: UniStrcspn - Topics]