Searching through text files

Results 1 to 2 of 2

Thread: Searching through text files

  1. #1
    Join Date
    Dec 1969

    Default Searching through text files

    I am trying to figure if there is a way to search through a text file (.txt) using a textbox on an ASP page and typing in keywords or phrases. I need to be able to see if the keywords are in the text file and display the text file if they are. (I know how to display it, just not how to search though it).<BR>Is this possible? If not, does anyone have any suggestions on what I should do?

  2. #2
    Kasper Guest

    Default RE: Searching through text files

    For the txt file you&#039ll need a FileSystemObject<BR>For the searching you&#039ll need an algorithm. I suggest you look up the Boyer-Moore algorithm which has excellent performance!

Posting Permissions

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