Your code is literally looking for "&##148" rather than the double quote
character.

I would use Chr(34) to designate double quotes in your ReplaceList function.


Billy Cox
Intranet/Extranet Development
Sprint PCS
(816) 559-5672 (voice)
(816) 559-5810 (fax)


-----Original Message-----
From: Keith Purtell [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 15, 2002 3:40 PM
To: KCFusion (E-mail)
Subject: [KCFusion] Replacing double quotes in a string


I'm trying to catch double quote characters in a text string and replace
them with the word "inch". No error messages, but my code lets double quotes
get past. I can't see what's wrong. Anyone care to diagnose this? I'm using
CF5.

VALUE='#ReplaceList("StringName", "&##148;, &##147;, &##34;, &##8220;,
&##8221;, &##8222;", "inch, inch, inch, inch, inch, inch")#'

Keith Purtell, Web/Network Administrator
VantageMed Operations (Kansas City)
Email:  [EMAIL PROTECTED]

CONFIDENTIALITY NOTICE: This email message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply email and destroy all copies of the original
message.

 
 
______________________________________________________________________
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives........ http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe.................... mailto:[EMAIL PROTECTED]
To Unsubscribe................ mailto:[EMAIL PROTECTED]
 
 
 
______________________________________________________________________
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives........ http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe.................... mailto:[EMAIL PROTECTED]
To Unsubscribe................ mailto:[EMAIL PROTECTED]
 

Reply via email to