macromedia.coldfusion.cfml_general_discussion
[Top] [All Lists]

Re: How to get around # sign

Subject: Re: How to get around # sign
From: Ian Skinner
Date: Fri, 29 Aug 2008 10:44:12 -0700
Newsgroups: macromedia.coldfusion.cfml_general_discussion


natg504 wrote:
How can this be done dynamically?  For example,

 <cfset strMainText = FORM.input />
 <cfset strMainText=Replace(strMainText, '##', '####', 'all') />

 This seems like it should work, but I get an error.


Go askii on your problem!

replace(strMainText,chr(36),chr(36) & chr(36),'ALL')

<Prev in Thread] Current Thread [Next in Thread>