you can use
<cfparam name="cust_tel_num" default="#areacode# #telnum#">

yanton
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, 12 December, 2001 3:16 PM
Subject: How do you concatenate 2 string variables into one with a space in
the middle


> Re: How do you concatenate 2 string variables into one with a space in the
> middle
>
> i.e. (area code) and (telephone number)  - such as 858 & 999 9999 into 858
> 999 9999 to be inserted into one field in a database. Here's how I wrote
the
> code thus far:
>
> Variable 1:    <cfparam name="areacode" default="#BusphoneArea#">
>
> Variable 2:   <cfparam name="telnum" default="#Busphone#">
>
> Then I try to concatenate em as follows, and find I have not only not
> succeeded but have in fact arrived at a place of dismal failure.
>
> <cfparam name="cust_tel_num" default=#areacode# & " " & #telnum#>
>
> Appreciate any insights.
>
> Cheers aye,
> Pardee.
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to