Returns the network prefix an address is kept as: its /24 for IPv4, its /48 for IPv6.
the address
the prefix, or empty for a string that is not an address
Returns the network prefix an address is kept as: its /24 for IPv4, its /48 for IPv6.