I, again, have to refer you to the FAQ Forum under TCP/IP Primer, Part I - IP Addresses . You would use the BinaryIP() UDF, which is explained in Part III, to compare two IP addresses. This would enable you to compare IP addresses independent of their format as potential formats could be '168.192.1.1', 168.192.  1.  1', or '192.168.001.001'.

Alternatively, use the SPLIT function to split the IP address into octets and compare the octets. However, this is all explained in the TCP/IP Primer.
_________________________
There are two types of vessels, submarines and targets.