1.

What Is The Functionality Of The Functions Strstr() And Stristr()?

Answer»

string STRSTR ( string haystack, string needle ) returns part of haystack string from the first occurrence of needle to the END of haystack. This function is CASE-sensitive.
stristr() is idential to strstr() except that it is case INSENSITIVE.

string strstr ( string haystack, string needle ) returns part of haystack string from the first occurrence of needle to the end of haystack. This function is case-sensitive.
stristr() is idential to strstr() except that it is case insensitive.



Discussion

No Comment Found