DOKK / manpages / debian 12 / allegro4-doc / ustrpbrk.3alleg4.en
ustrpbrk(3alleg4) Allegro manual ustrpbrk(3alleg4)

ustrpbrk - Finds the first character that matches any in a set. Allegro game programming library.

#include <allegro.h>

char *ustrpbrk(const char *s, const char *set);

This function finds the first character in `s' that matches any character in `set'. Example:


char *p = ustrpbrk("one,two-three.four", "-. ");

Returns a pointer to the first match, or NULL if none are found.

uconvert(3alleg4), ustrchr(3alleg4), ustrrchr(3alleg4), ustrstr(3alleg4), ustrtok(3alleg4)

version 4.4.3 Allegro