Hieysk
02-28-02, 05:58 PM
Im trying to write a VB app that will read in a text file line by line and "look" for certain things then add that instance to a variable that I choose.
Sample text file line:
"The brown dog sits down in the chair and eats 3 biscuits".
As my end product I want to give the user the stats on
a. What color dog
b. Sat where
c. Eat X number of buscuits.
I need help with coding the "if you find this______ add it to this variable.. Or... whatever..
Anyone have any ideas on one of the better ways to do this?
Thanks.
Sample text file line:
"The brown dog sits down in the chair and eats 3 biscuits".
As my end product I want to give the user the stats on
a. What color dog
b. Sat where
c. Eat X number of buscuits.
I need help with coding the "if you find this______ add it to this variable.. Or... whatever..
Anyone have any ideas on one of the better ways to do this?
Thanks.