Hey Folks,

I don't do much programming so excuse the newbie question[s]...

I have a csv file that contains our DHCP reservations. I am looking for a good way to search for a particular string, and display the line of text that contains it.

For example if I search for 10.1.2.3 in:

c:\dhcp\dhcpres.csv

10.1.2.0, 112233445566, pc-1,
10.1.2.1, 223344556677, pc-2,
10.1.2.2, 334455667788, pc-3,
10.1.2.3, 445566778899, pc-4,

I want the system to display:

10.1.2.3, 445566778899, pc-4,

in whatever field specified. Is there an easy way to do this in VB.NET?

Thanks for any suggestions.