Hi,
I have a file loaded into a stream reader. The file contains ip addresses scattered about. Before and after each IP addresses there is "\" if this helps. Also, the first "\" on each line ALWAYS comes before the ip address, there are no other "\" before this first one.
I already know that I should use a while loop to cycle through each line, but I dont know the rest of the procedure :<
For example:
Powerd by Stormix.de\93.190.64.150\7777\False
Cupserver\85.236.100.100\8178\False
Euro Server\217.163.26.20\7778\False
in the first example i would need "93.190.64.150" in the second example i would need "85.236.100.100" in the third example i would need "217.163.26.20"
I really struggle with parsing/splicing/dicing :s
thanks in advance
* I require to keep the IP in a string a bool return is not sufficient for what i want to do.