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

strstr()


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


Description:
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 eLook.org Powered by LoadedWeb Web Hosting
Valid XHTML 1.0! Valid CSS! eLook.org FireFox Extensions