|
-
March 2nd, 2006, 04:56 AM
#1
Search String in a text file
Hi,
Anyone have any idea on how to search a particular string in a text file?
If using StreamReader, can i do that?
I am writting a function to return true,false; if i could find the particular string.
Please advice. Thanks.
e.g, i wan to open sample.txt to look for "nine"? do i need to read line by line?or i have other option? thanks
sample.txt
one,1
two,2
three,3
..............
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|