Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

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\"";

©2018 Martin Webb