摘要: $a = "abcababa";$count=strpos($a,"ab");$str=substr_replace($a,"",$count,2); 输出结果:cababa代码虽短,但也算是一个小算法! 阅读全文
posted @ 2008-06-21 01:03 二宝的博客 阅读(492) 评论(0) 推荐(0) 编辑