Check out URLEncodedFormat() it will do EXACTLY what your looking for.
Bill
> -----Original Message-----
> From: CM Randall [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, September 10, 2000 11:53 AM
> To: [EMAIL PROTECTED]
> Subject: URL parameter and the "-" character
>
>
> I'm having a problem reading a URL parameter when it has a minus
> sign "-" in
> the URL var name.
>
> For example, someone is passing to me via URL card-address=MyAddress.
>
> I can not read this by doing the following:
> <cfoutput>#url.card-address1#</cfoutput>
> OR
> <cfset addr1 = url.card-address1>
>
> When I get an error is tells me that the parameter card doesn't exist.
>
> How do I escape the - character so it doesn't error out? I know this can
> work because it is displaying in the CF debug area at the bottom of the
> page.
>
> Thanks!
>
> CM
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> Share information about yourself, create your own public profile at
> http://profiles.msn.com.
>
> ------------------------------------------------------------------
> ------------
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fu
sebox or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.