久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長資訊網
      最全最豐富的資訊網站

      php如何刪除字符串中指定字符

      php如何刪除字符串中指定字符

      php如何刪除字符串中指定字符

      1、可以通過使用"str_replace()"函數(shù)將指定字符替換為空字符,來達到刪除指定字符的效果。

      $str="abcdefg"; $str=str_replace('a','',$str); echo $str;

      2、配合使用“substr_replace()”函數(shù)和“strpos()”函數(shù),將指定字符替換為空字符即可。

      $a = "abcababa"; $count=strpos($a,"ab"); $str=substr_replace($a,"",$count,2);

      推薦教程:《PHP教程》

      贊(0)
      分享到: 更多 (0)
      網站地圖   滬ICP備18035694號-2    滬公網安備31011702889846號