Hi,
<cfset Ip1 = trim(ListGetAt(IpAddress_withdot,1,"."))>
<cfset Ip2 = trim(ListGetAt(IpAddress_withdot,2,"."))>
similary get Ip3 and Ip4.
insert each number from Ip1, Ip2, IP3 and Ip4 to one common array.
<cfset counter = 1>
<cfloop from i = "1" to...