Limiting Text Lines

Results 1 to 2 of 2

Thread: Limiting Text Lines

  1. #1
    Magne V. Guest

    Default Limiting Text Lines

    Let&#039s say I have a txt-file with 10 lines of text.<BR>How can I read only the 9 first lines and make a new variable of the 9 lines? <BR><BR>The txt-file is a list of automaticly generated links, and I want the first link (text-line) to push out link (line) number 10. <BR><BR>PS: I&#039m not working with databases.<BR><BR>

  2. #2
    Magne V. Guest

    Default RE: Limiting Text Lines

    Just in case someone is interested ...<BR><BR>I found the solution myself, and it&#039s simple:<BR><BR>for line = 0 to 5<BR>TheText = TheText & Thefile.Readline & vbcrlf<BR>next

Posting Permissions

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