Your email:
Find first occurrence of a string
<?php $email = 'name@example.com'; $domain = strstr($email, '@'); echo $domain; // prints @example.com
$user = strstr($email, '@', true); echo $user; // prints name ?>
Your email address will not be published. Required fields are marked *
Name *
Email *
Website