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