<div class="title_bot"><script>ec(2);</script></div> $a = "abcababa";<br>$count=strpos($a,"ab");<br>$str=substr_replace($a,"",$count,2);<br> <br>输出结果:cababa<br>代码虽短,但也算是一个小算法!<br><br><p id="TBPingURL"></p>