[quote=引用 3 楼 misakaqunianxiatian 的回复:] <?php $str=",333,"; $string = str_replace($str,',', "111,222,111333,333,333333,"); echo $string; ?>
<?php $str=",333,"; $string = str_replace($str,',', "111,222,111333,333,333333,"); echo $string; ?>
$str="/(?:^|,)333,/"; $string = preg_replace($str,',', "111,222,111333,333,333333,"); echo $string;
21,893
社区成员
140,347
社区内容
加载中
试试用AI创作助手写篇文章吧