ustrstr - Finds the first occurrence of a string in another one. Allegro game programming library.
Contents
Description
This function finds the first occurrence of string `s2' in string `s1'. Example:
char *p = ustrstr("hello world", "world");
Name
ustrstr - Finds the first occurrence of a string in another one. Allegro game programming library.
Return Value
Returns a pointer within `s1', or NULL if `s2' wasn't found.
See Also
uconvert(3alleg4), ustrchr(3alleg4), ustrrchr(3alleg4), ustrpbrk(3alleg4), ustrtok(3alleg4) Allegro version 4.4.3 ustrstr(3alleg4)
Synopsis
#include<allegro.h>char*ustrstr(constchar*s1,constchar*s2);
