Thanks, Sebastian

I wasn't sure if you could do this with NumberFormat but this will do the
trick.

Thanks a BUNCH!

-Mark :o)

----- Original Message -----
From: sebastian palmigiani <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, September 09, 2000 5:31 PM
Subject: Re: Number Format Question


> on 9/9/00 7:03 PM, Mark Adams at [EMAIL PROTECTED] wrote:
>
> > I need to format this phone number,  #NumberFormat(PhoneNumber)# to look
> > like this 555-222-0000 but I am not sure how to properly mask it. Any
Ideas?
>
> I don't know if you can do that with NumberFormat. However, you can try
> this:
>
> <cfset PhoneNumber = 5552220000>
> <cfset PhoneNumber = Insert("-", PhoneNumber, 3)>
> <cfset PhoneNumber = Insert("-", PhoneNumber, 7) >
> <cfoutput>#PhoneNumber#</cfoutput>
>
> Maybe others have a more elegant way of doing it.
>
> Sebastian
>
> --------------------------------------------------------------------------
----
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to