Hi Everyone,
I have a program that is reading a list of IP address from a text file. I would like to sort all files that begin with “192.168.X.X” and display them in a listbox. All other IPs can be disregarded.
For example,
Below is data in my text file:
192.168.1.1
15.265.56.894
64.233.167.99
64.191.203.30
192.168.2.569
Once the program runs, the data in the listbox should look like below:
192.168.1.1
192.168.2.569
How exactly would I code the logic to only look for "192.168." then kick the entire string to a listbox?


Reply With Quote
