<cfset number="12/345,678">
<cfset newnumber="#replace(number,",","","ONE")#">
<cfset newnumber1="#listfirst(newnumber, "/")#">
<cfset newnumber2="#listlast(newnumber, "/")#">
<cfset newnumber3="#newnumber1#-#newnumber2#">
<cfoutput>#newnumber3#</cfoutput>
?????
At 11:08 AM 5/9/00 -0700, you wrote:
>How can I change a value of a variable with this format
>
>12/345,678
>
>to this format
>
>12-345678
>
>I need to replace the / with a - and remove the comma.
>
>Thanks,
>
>Chris Giminez
>Owner - Cyber Scriber Web Site Design
>831-728-4469
>ICQ# 2628000
>
>
>
>------------------------------------------------------------------------------
>Archives: http://www.eGroups.com/list/cf-talk
>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.eGroups.com/list/cf-talk
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.