1.

What Is The Functionality Of The Function Strstr And Stristr?

Answer»

strstr() returns PART of a given string from the first OCCURRENCE of a given substring to the END of the string. For EXAMPLE: strstr("user@example.com","@") will return "@example.com".
stristr() is idential to strstr() except that it is case insensitive.

strstr() returns part of a given string from the first occurrence of a given substring to the end of the string. For example: strstr("user@example.com","@") will return "@example.com".
stristr() is idential to strstr() except that it is case insensitive.



Discussion

No Comment Found