Results 1 to 6 of 6

Thread: [RESOLVED] dropping text

Threaded View

  1. #1

    Thread Starter
    Addicted Member ondalor's Avatar
    Join Date
    Jan 2013
    Location
    Washington DC
    Posts
    195

    Resolved [RESOLVED] dropping text

    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
    Last edited by ondalor; Jan 25th, 2013 at 11:46 AM. Reason: code error

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width