vb如何对一个txt文件进行逐行比较然后输出到一个新的txt文件

[复制链接]
查看11 | 回复1 | 2011-11-21 20:57:45 | 显示全部楼层 |阅读模式
dim s as string, t() as stringopen app.path & "\1.txt" for input as #1open app.path & "\2.txt" for output as #2do until eof(1)
line input #1,s
t=split(s," 001")
if ubound(t)>0 then print #1,t(0)loopclose #2close #1...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行