![]() |
|
首页 │ Apache │ Linux│ Java│ MySQL│ 注册│帮助 | |||
相关问题
我在村子里看了如下两行代码:
$str=preg_replace("/\s+/"," ",$str);//把多个回车替换为1个空格
$str=preg_replace("/ +/"," ",$str);//把多个空格替换为1个空格
请问其中用绿色标的是什么意思呀??先谢了^_-
提问者:yiyamzen 08-22 08:08
答复
![]() |
|
首页 │ Apache │ Linux│ Java│ MySQL│ 注册│帮助 | |||
我在村子里看了如下两行代码:
$str=preg_replace("/\s+/"," ",$str);//把多个回车替换为1个空格
$str=preg_replace("/ +/"," ",$str);//把多个空格替换为1个空格
请问其中用绿色标的是什么意思呀??先谢了^_-