I'm parsing a list of ip's with ports.
in this format:
255.255.255.255:12345
How would I go about removing the colon and the port, leaving just the ip so that I may save it?
Thanks!
I'm parsing a list of ip's with ports.
in this format:
255.255.255.255:12345
How would I go about removing the colon and the port, leaving just the ip so that I may save it?
Thanks!