HomeArticlesFAQsXREFGamesSoftwareInstantBooksBBSAboutFOLDOCRFCsFeedbackSearchSite-Map
logo

Q1600 How do I use the inch sign (") in a string?

You are here: irt.org | FAQ | JavaScript | Text | Q1600 [ previous next ]

You either need to use single quotes around the string:

var myStrinf = '17"';

Or you need to escaoe the double quote with a back slash:

var myString="17\"";

©2011 Martin Webb