|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
How do you concat two strings in cold fusion? is there any function that could do this job?
Iam pulling the hours and minutes and storing them in 2 different variables but before storing them in database i need to concat them together so it makes some sense. Thanks in advance. |
|
#2
|
|||
|
|||
|
Try this.
Code:
<cfset newString = string1 & string2> Last edited by ChiMex : May 9th, 2003 at 04:52 PM. |
|
#3
|
|||
|
|||
|
Thank You Chimex! It did Work!
|
|
#4
|
|||
|
|||
|
Iam trying to concat 2 strings and also i need to insert : [double colon] in between both of them so it looks like time format.
For Example: 1:21 minutes so i need to concat (1:21) like this. I tried using the ampersand (&) in between like <cfset totime = hrtime & : & mintime> It did not work and gave an error message like this: (This message is usually caused by a problem in the expressions structure.) Please Help |
![]() |
| Viewing: Dev Articles Community Forums > Programming > Cold Fusion Development > String Concat |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|