Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21237

dropping text

$
0
0
How do i make the code drop the first 10 characters from each line of the source txt?

Code:

Open "source.txt" For Input As #1
Open "destination.txt" For Output As #2
Do While Not EOF(1)
    Line Input #1, LineOfText
            Print #2,
    Print #2, LineOfText
Loop

Close #1
Close #2


Viewing all articles
Browse latest Browse all 21237

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>