Returns part of a string based on a search.
strstr() searches a string for the first occurrence of another string, and returns a string with the characters to the right of the first occurrence. If no occurrence is found, FALSE is returned.
<?php
print strstr("http://www.devguru.com", "www");
?>
www.devguru.com
strstr() is used on a web URL to return the part after the protocol.