Friday, February 20, 2009

What is the functionality of the function strstr and stristr?

string strstr ( string str1, string str2) this function search the string str1 for the first occurrence of the string str2 and returns the part of the string str1 from the first occurrence of the string str2. This function is case-sensitive and for case-insensitive search use stristr() function.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home