php中3种方法删除字符串中间的空格 第一种:使用正则复制代码 代码如下:<?phpecho preg_replace( , , ab ab ); 输出 "abab "?>第二 PHP编程 2022-04-11 114 点赞 1 评论 172 浏览