Skip to content
Prev 205504 / 398506 Next

string

robert-mcfadden at o2.pl wrote:
Sure, but you need to escape the double quotes.

The easiest way is actually to read it in, like (sorry about the line
breakage...)
<question><span style="color: #0000FF; font-weight: bold; font-size: 14pt">
[1] "<question><span style=\"color: #0000FF; font-weight: bold;
font-size: 14pt\">"

but you could also assign directly
font-size: 14pt\">"
[1] TRUE

(Notice that the backslashes are not actually part of the string, it is
just that internal quotes are _displayed_ as \", and entered in the same
way. This tends to confuse people at first.)