Home >php教程 >php手册 >php ltrim() rtrim() trim()删除字符空格

php ltrim() rtrim() trim()删除字符空格

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-13 11:19:14925browse

php中的trim函数不能像asp中的一样,可以自动删除所有空格,它专业提供了 rtrim() trim()函数,有需要的可以参考。  

 代码如下 复制代码

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn