php 字符串函数strstr, ltrim
php 字符串函数strstr, ltrim [代码片段(7行)]
<?php $url = 'sales@example.com'; echo ltrim(strstr($url, '@'),'@'); ?>
- 上一篇:php Sort 函数实例
- 下一篇:PHP passthru()函数使用
精彩图集
精彩文章
<?php $url = 'sales@example.com'; echo ltrim(strstr($url, '@'),'@'); ?>
@CopyRight 2002-2008, 1SOHU.COM, Inc. All Rights Reserved QQ:1010969229