-
August 9th, 2011, 11:27 PM
#1
VB.NET Search Text
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.
\"Those of us that had been up all night were in no mood for coffee and donuts, we wanted strong drink.\"
-HST
Similar Threads
-
By d00dz Attackin in forum Other Tutorials Forum
Replies: 21
Last Post: December 6th, 2005, 10:20 AM
-
By scratchONtheBOX in forum Other Tutorials Forum
Replies: 6
Last Post: March 30th, 2005, 04:53 PM
-
By d00dz Attackin in forum Other Tutorials Forum
Replies: 22
Last Post: November 20th, 2004, 10:49 AM
-
By gore in forum Operating Systems
Replies: 3
Last Post: March 7th, 2004, 08:02 AM
-
By Euclid in forum AntiOnline's General Chit Chat
Replies: 3
Last Post: March 6th, 2003, 12:25 AM
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
|
|