Jor*_*rge 4 php
是否有php函数来删除字符串中的空格?例如:$ abcd ="这是一个测试"我想得到字符串:$ abcd ="thisisatest"
怎么做?谢谢.
Gor*_*don 14
$abcd = str_replace(' ', '', 'this is a test');
请参见http://php.net/manual/en/function.str-replace.php
归档时间:
15 年,6 月 前
查看次数:
8223 次
最近记录:
11 年,10 月 前