要替换的替换为的要替换的替换为的要替换的替换为的这里面要一一对应代码Dim nDim a() As StringPrivate Sub Command1_Click()Open "d:\1.txt" For Input As #1Do Until EOF(1)n = n + 1ReDim Preserve a(n) As StringLine Input #1, a(n)LoopCloseFor i = 1 To n Step 2Call tihuan(a(i), a(i + 1))NextEnd SubPrivate Sub tihuan(x As Str