strstr Function in PHP
What is strstr Function?
Explanation
The "strstr" function is used find the first occurence of a string.
Syntax:
strstr(string,char)
In the above syntax "string" specifies the string to be searched, "char" specifies the string to be looked for.
Example :
<?php
echo strstr("Hi folks!",o);
?>
Result :
olks!
In the above example the string is displayed from the first occurence of the character "o".