Currently At: Programming Reference > C Reference > Standard C String & Character > strstr()


#include <string.h>
char *strstr( const char *str1, const char *str2 );

The function strstr() returns a pointer to the first occurrence of str2 in str1, or NULL if no match is found.

Related Topics:
strchr(), strcspn(), strpbrk(), strspn(), strtok(), strrchr()

Web Standards & Support:

Link to and support Powered by LoadedWeb Web Hosting
Valid XHTML 1.0! Valid CSS! FireFox Extensions