# Escaping a " in Classic ASP?

**URL:** <https://forum.kirupa.com/t/escaping-a-in-classic-asp/321987>\
**Category:** programming\
**Created:** [May 6, 2011, 2:37pm UTC](https://forum.kirupa.com/t/escaping-a-in-classic-asp/321987 "2011-05-06T14:37:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jimmykup](https://avatars.discourse-cdn.com/v4/letter/j/f475e1/32.png) [@jimmykup](https://forum.kirupa.com/u/jimmykup)\
**Post date:** [May 6, 2011, 2:37pm UTC](https://forum.kirupa.com/t/escaping-a-in-classic-asp/321987/1 "2011-05-06T14:37:29Z")

</div>

Hi everyone,

I’m trying to search for a single instance of a " in my text, and then replace it with it’s HTML entity code. For example, I want **17.8" Inches** to become **17.8\> Inches** in my source code. Here’s the code I’m using below.

strOutput = Replace(strOutput, “”", “\>”)

Unfortunately, this doesn’t work because searching for a " within the two " " just doesn’t work. Is there a workaround for this? Any help would be greatly appreciated!
