占位,。。。。
读文件就用上面的兄弟的函数了
我讲怎么分割
首先分割成
name="&L1"
value="www.163.com"
file=......(读出文件)
word=split(file,chr(13)+chr(10))'回车
'word(0)="&L1=http://www..com/"
'word(1)="&L1=http://www.163.com/"
remdim testword(ubound(word),1)
for i=0 to ubound(word)
tword=split(word(i),"=")
testword(i,0)=tword(0)
testword(i,1)=tword(1)
next
for i=0 to ubound(testword,1)
if testword(i,0)=name then
testword(i,1)=value
end if
next
for i=0 to ubound(testword,1)
file=testword(i,0)+"="+testword(i,1)+chr(13)+chr(10)
next
'把file写回去就OK了