Php 我怎样才能删除“&;nbsp&引用;从一开始就是一根绳子?
可能重复:Php 我怎样才能删除“&;nbsp&引用;从一开始就是一根绳子?,php,Php,可能重复: 我有这个字符串: 6:30 如何删除?爆炸不起作用 $string = " 6:30"; $string = str_replace(" ","",$string); echo $string; 或 应该与 trim(html_entity_decode($s)) 问题标题不合适,未给出环境。 trim(html_entity_decode($s))
我有这个字符串:
6:30
如何删除
?爆炸不起作用
$string = " 6:30";
$string = str_replace(" ","",$string);
echo $string;
或
应该与
trim(html_entity_decode($s))
问题标题不合适,未给出环境。
trim(html_entity_decode($s))