Search string in textfile

B

beersa

Hi All,

I am looking for fastest search alogrithm in vb.net or vb2005.
I write a code in vb2005 to find a string in given text file. The text
file contains about 120,000 lines and search string is contain in
another text file which is abt 4000 lines.

My code takes nearly 15 mins to scan the whole file.

Could anyone suggest me the fastest way to do this?

Thanks & Regards
beerSA.
 
G

Guest

Could you tell a bit more ??

cause now i understand it as if you want to find a 4000 lines search pattern
in a 120.000 lines file

regards

Michel Posseth [MCP]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top