Can anyone help?

Results 1 to 2 of 2

Thread: Can anyone help?

  1. #1
    Join Date
    Dec 1969

    Default Can anyone help?

    Is there any way of of searching through a text file, then once the point has been found, read line by line after that?<BR><BR>I thought about using InStr, but if I read all the file into a variable, it loses all the line breaks doesn&#039t it?<BR><BR>Thanks a lot

  2. #2
    Join Date
    Dec 1969

    Default RE: Can anyone help?

    So why not read line by line, using InStr. And then, when you find the thing you are looking for, simply continue reading line by line, either storing the lines or writing them, as appropriate.<BR><BR>If you know about ReadAll in the TextStreamObject, then presumably you know about ReadLine, too. No?<BR><BR>

Posting Permissions

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