[<< wikibooks] C Programming/string.h/strstr
strstr is a C standard library string function as defined in string.h. strstr() has the function signature char * strstr(const char *haystack, const char *needle); which returns a pointer to a character at the first index where needle is in haystack, or NULL if not present.The strcasestr() is a function much like strstr() except that it ignores the case of both needle and haystack. strcasestr() is a non-standard function while strstr() conforms to C89 and C99.

== Example ==

cptr is now a pointer to the sixth letter (e) in "wikipedia".

== See also ==

== References ==

== External links ==
C++ reference for std::strstr