Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

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

irt.org | Knowledge Base | JavaScript | Text | Q1600 [ previous next ]

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

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

Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.