So here is what I'm trying to do:
I have a file with a list of ip addresses eg.(123.45.6.789: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 123.45.6.789 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.