Print #2, Left(myString, 223)
Print #2, Mid(myString, 225)
Splits out the first (corrupted) line into to seperate lines
I missed the part where the first bit is not needed, but that can easily be skipped changing the Left to a MID.
Air code but should work:
Print #2, Mid(myString, 225)
Splits out the first (corrupted) line into to seperate lines
I missed the part where the first bit is not needed, but that can easily be skipped changing the Left to a MID.
Air code but should work:
Code:
Sub mytest()
Dim myString As String
Open "c:\mytest.txt" For Input As #1
Open "c:\myOutput.txt" For Output As #2
Line Input #1, myString
Print #2, mid(myString, 46, 198)
Print #2, Mid(myString, 225)
Line Input #1, myString
Do While Not EOF(1)
Print #2, myString
Line Input #1, myString
Loop
Print #2, myString
Close #1
Close #2
End Sub