Mega Code Archive

 
Categories / Php / Strings
 

Strstr php

<?php    $url = "sales@example.com";     echo ltrim(strstr($url, "@"),"@"); ?>