A function that searches a string in another string.
A function that searches a string in another string.
Examples
php$email = '[email protected]';
$domain = strstr($email, '@');
echo $domain; // prints @example.com
(Example taken from php.net)