![]() |
search for a string in a file
How to search for a string in a file. As string might be somewhere in the middle of text file.
Code:
Console.WriteLine("Input a string ");thanks |
Re: search for a string in a file
use st.Contains
|
Re: search for a string in a file
Shabbir Brother you are the star. Thanks a million
|
Re: search for a string in a file
One more question is
"How to find a position of that string in a file"? Rgds, |
Re: search for a string in a file
I got the answer for position thanks anyway
|
| All times are GMT +5.5. The time now is 04:48. |