I have inputted a word from a user and i want to find that word in a text file.
My text file is like this.
--------------
name1:value1
name2:value2
name3:value3
...
...
--------------
So if my user inputs name1 so i want corresponding value1..
How can i do these? Can anyone help me..??

kirtan_thakkar
edwinhermann 57 Junior Poster

kirtan_thakkar
trickist17 0 Newbie Poster
edwinhermann 57 Junior Poster
trickist17 0 Newbie Poster
edwinhermann 57 Junior Poster
diafol commented: welcome back +14
trickist17 0 Newbie Poster
edwinhermann 57 Junior Poster
trickist17 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.