.\" Generated by the Allegro makedoc utility .TH ustrstr 3alleg4 "version 4.4.2" "Allegro" "Allegro manual" .SH NAME ustrstr \- Finds the first occurrence of a string in another one. Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B char *ustrstr(const char *s1, const char *s2); .SH DESCRIPTION This function finds the first occurrence of string `s2' in string `s1'. Example: .nf char *p = ustrstr("hello world", "world"); .fi .SH "RETURN VALUE" Returns a pointer within `s1', or NULL if `s2' wasn't found. .SH SEE ALSO .BR uconvert (3alleg4), .BR ustrchr (3alleg4), .BR ustrrchr (3alleg4), .BR ustrpbrk (3alleg4), .BR ustrtok (3alleg4)