Locates the first occurrence in one string of any character from another string.
#include <string.h>
utf8_t *utf8pbrk (
const utf8_t *s1,
const utf8_t *s2);
(IN) Point to the string for which to locate the first occurrence of any character from the string pointed to by s2.
(IN) Points to the string containing the characters to be located in the string pointed to by s1.
Returns a pointer to the located character, or NULL if no character from s2 occurs in s1.
The utf8pbrk function works the same as its ANSI/ISO equivalent, strpbrk, except that utf8pbrk works on strings containing UTF-8 characters, which can be composed of one or two bytes. UTF-8 characters can require up to six bytes total, but NetWare does not generate such characters.