Search string in textfile

  • Thread starter Thread starter beersa
  • Start date Start date
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.
 
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]
 
Back
Top