久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放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. 站長資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      vbs:把一段文字中指定字符顏色變成紅色的正則

      vbs:把一段文字中指定字符顏色變成紅色的正則

       
      function c(Tstr,Word) 
      Dim re 
      Set re = new RegExp 
      re.IgnoreCase =True 
      re.Global=True 
      re.pattern = "("&Word&")" 
      c=re.replace(Tstr,"<font style=’color:red;’>$1</font>") 
      End function 

      調用方法 

      response.write c("內容字串","要顯示為紅色的字") 

      比如 

      <% 
      function c(Tstr,Word) 
      Dim re 
      Set re = new RegExp 
      re.IgnoreCase =True 
      re.Global=True 
      re.pattern = "("&Word&")" 
      c=re.replace(Tstr,"<font style=’color:red;’>$1</font>") 
      End function 
      Response.write("lamking.com","a") 
      %> 
      就把lamking.com中的a替換為紅色的。 

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