Thanks for your comment but I am sorry it still doesnt work.
That appears to be for double quotes though...Notice for mine single quotes are involved.
Main Topics
Browse All TopicsThe single quotes in the string s in the code below is breaking some code.
I am trying to remove them with the replace expression below.
I found out (by copying and doing a find) that the strings are represented by chr(145) and chr(146) from the website below: http://www.phillhowson.com
For some reason the characters are not replaced and the string remains the same. Running the test will show you what I mean.
Can anyone advise me on how to get these characters out?
Does anyone know of any program that could help me check to make sure that this the correct representation of the characters? A program that probably takes in a character and then gives me the ColdFusion chr() representation. I don't know if in the midst of the copying and finding something got translated into something else probably? I dunno...just clutching at straws.
Thanks for any help you can provide.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Thanks for your comment erikTsomik but its single quotes that I am trying to remove ...not double. I am just realizing the character didn't even render in the experts exchange screen, which may be the reason for the confusion. When copied here it appears as an empty box but in the database it shows as single quotes resembling chr(96) and chr(96) turned backways.
See the attached code snippet to see what the code looks like now.
I have included all the suggestions from your comments yet it still doesn't not remove the quotes.
I dont know if it helps to say that the user who entered this copied from Microsoft Word to put it in our user interface.
Hopefully, it'll be one of the quotes on http://www.cl.cam.ac.uk/~m
If you are, try reviewing the code for the SafeText function at cflib.org. It handles several of the MS Word characters. They have very funky ascii values.
http://www.cflib.org/index
Business Accounts
Answer for Membership
by: BarthaxPosted on 2009-08-07 at 07:46:44ID: 25043259
The standard double-quote character is Decimal 34 (Hex 22). Chr(34) should therefore work. Note that 145 & 146 are being standard ASCII & are dependant on your local system settings for interpretation.