Codice PHP:
$str "mionome@dominio.it";
echo 
array_pop(explode('@',$str));