Just wondering about the minimum character count of an IPv4 / IPv6 address in string representation. What's the shortest valid IP address?
1.1.1.1 would be a valid IP address, so the answer to your question is "7".
1.1.1.1