去除字符串全部空格
function trimall($str)<br>
{<br>
$qian=array(" "," ","\t","\n","\r");<br>
$hou=array("","","","","");<br>
return str_replace($qian,$hou,$str); <br>
}
AD:真正免费,域名+虚机+企业邮箱=0元
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