Basic PHP Programming Question:
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.
stristr() is idential to strstr() except that it is case insensitive.
Previous Question | Next Question |
How do you pass a variable by value? | When are you supposed to use endif to end the conditional statement? |