php 字符串函数strstr, ltrim

<?php
   $url = '[email protected]'; 
   echo ltrim(strstr($url, '@'),'@');
?>

编程技巧