【发布时间】:2017-04-19 18:42:07
【问题描述】:
我在此页面中使用此代码,用于逐行读取数据。现在如何逐行编辑文本文件?
(VB6) Reading text files line by line looking for specific words
If InStr(1, lines(i), "sample text", vbTextCompare) Then
lines (i)= "new text"
我使用了这段代码,但没有任何改变。
【问题讨论】: