ustrpbrk

Section: Allegro manual (3)
Updated: version 4.2.2
Index Return to Main Contents
 

NAME

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

SYNOPSIS

#include <allegro.h>

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

DESCRIPTION

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

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

RETURN VALUE

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

 

SEE ALSO

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