Mega Code Archive
Categories
/
Php
/
Strings
Strstr() function returns the remainder of string beginning at the first occurrence
Its syntax is: string strstr (string string, string occurrence) $url = "http://www.rntsoft.com"; $domain = strstr($url, "."); print $domain; ?>