In order to be more-careful with this, you should make sure that you
have three digits for each part.

For example: 069.124.049.027
Would give you: 069124049027
Without "padding" the numbers, you could have: 691244927

Many IP addresses, with low values, could cause duplication.

M!ke 

-----Original Message-----
From: Phillip B. Holmes [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 27, 2006 3:42 PM
To: CF-Talk
Subject: Re: Strip dots out of ip address

No need for anything fancy there:

<cfscript>
        strIP = '69.124.49.27';
        strOut = replace(strIP,'.','','ALL');
        writeOutput(strOut);
</cfscript>

Best,

Phillip Holmes

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244917
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to