So here is what I'm trying to do:
I have a file with a list of ip addresses eg.(184.108.40.2069:80)
I have two arrays; ip and port, what I want to do is break the address and place the parts into the arrays. so 220.127.116.119 would go into the ip array and 80 would go into the port array.
I want to omit the ":" completely.
Any help would be appreciated. Thanks.