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