- 帖子
- 13
- 积分
- 206
- 技术
- 0
- 捐助
- 0
- 注册时间
- 2008-8-20
|
VBS替换的字符中出现引号
dim q,optxt,crtxt,rdtxt,a
set q=createobject("scripting.filesystemobject")
set optxt=q.opentextfile("temp\my.txt")
set crtxt=q.createtextfile("b.txt")
rdtxt=optxt.readall
a=replace(rdtxt,"</a>","</a><br>")
a=replace(rdtxt," <a href=""," <a href="http://www.ttxiaoshuo.com/files/article/html/2/2745/")
crtxt.write a
就是把
<a href=" 替换成 <a href="http://www.ttxiaoshuo.com/files/article/html/2/2745/
总是提示,少一个")"
应该如何解决 |
|