I've been trying to replace double quotes that are within a variable with single quotes as this is being outputted into a meta tag and when the double quotes are left in place it displays the information on the page as it closes the tag.

The function I've seen used online is Replace(description,""", "'") ... When I use this function my page products a 500 ERROR.

Please can someone advise as to why this wouldn't work, or another solution?


Shaun Swales