libc.info: strstr

Go forward to strtok
Go backward to strspn
Go up to Strings
Go to the top op libc

`strstr'--find string segment

*Synopsis*
     #include <string.h>
     char *strstr(const char *S1, const char *S2);
   *Description*
Locates the first occurence in the string pointed to by S1 of the
sequence of characters in the string pointed to by S2 (excluding the
terminating null  character).
*Returns*
Returns a pointer to the located string segment, or a null pointer if
the string S2 is not found. If S2 points to a string with zero length,
the S1 is returned.
*Portability*
`strstr' is ANSI C.
   `strstr' requires no supporting OS subroutines.