Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > ColdFusion > Replace functio...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 1636 of 1692
Post > Topic >>

Replace function to replace a comma

by "research_stuff" <learnstuff1@[EMAIL PROTECTED] > Dec 26, 2006 at 06:41 PM

I am trying to replace a , with a ',' (single quote comma single quote)

For example: 10/18/2006,11/15/2006 to be 10/18/2006','11/15/2006

I have tried the following:

NOTE: New_Date contains the 10/18/2006,11/15/2006

<CFSET New_DATE = #Replace(New_Date, ",", "','", "All")#>

The "','" is a Double quote followed by single quote then a comma the a
single quote then a double quote.




Thanks in Advance.
 




 2 Posts in Topic:
Replace function to replace a comma
"research_stuff"  2006-12-26 18:41:57 
Re: Replace function to replace a comma
Adam Cameron <adam_jun  2006-12-27 12:17:42 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Jul 6 10:21:50 CDT 2008.