Click here to Skip to main content
15,920,031 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello sir..
I'm trying to check a string is present or not in a file. How It can be possible?
From a line of text get a some starting part of line and check this part is present in another file or not?

e.g.
FORM A1 (COLOURED) FORM OF APPLICATION FOR PURCHASE OF KISAN VIKAS PATRA (BY
INVESTMENT THROUGH AGENTS)
from above text get only "FORM A1 (COLOURED)" and check this part in another file?
Posted
Comments
Sinisa Hajnal 12-Mar-15 2:56am    
Use ReadAllLines method from string reader, remove line breaks and search.

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900