函数集合

//替换空格
public function trimall($str) {
$qian=array(" "," ","\t","\n","\r");$hou=array("","","","","");
return str_replace($qian,$hou,$str);
}
posted @ 2018-02-26 10:57  YeungKey  阅读(73)  评论(0)    收藏  举报