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