Literals/String: Difference between revisions

Content added Content deleted
(→‎=={{header|Visual Basic}}==: added Visual Basic example)
m (→‎{{header|IDL}}: removed <nowiki> tags inside of <lang> block)
Line 995: Line 995:
Duplicating either of them quotes them. Thus the following contains three single quotes and no double-quotes:
Duplicating either of them quotes them. Thus the following contains three single quotes and no double-quotes:


<lang idl>a = ' that<nowiki>''</nowiki>s a string
<lang idl>a = ' that''s a string
print,a
print,a
;==> that's a string</lang>
;==> that's a string</lang>