Home  >  Article  >  Backend Development  >  过滤空格,

过滤空格,

WBOY
WBOYOriginal
2016-06-13 11:37:00837browse

过滤空格,急在线等
如$str="  沃尔克   ·   布鲁赫 ";
怎样过滤掉(沃尔克   ·   布鲁赫)前面与后面的空格,保留中间部分的空格。

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
Previous article:yii:app()求解解决方法Next article:PHP函数参数部类