Hello! How do I construct following string: s <- " *** "Hello!" *** " Tuomas __ Ota itsellesi luotettava kotimainen email http://www.jippii.fi/ Tutustu samalla netin parhaaseen pelipaikkaan JIPPIIGAMESIIN.
Hi, On Fri, 27 Dec 2002 00:19:13 +0200 (EET) tuffek at jippii.fi wrote:> > Hello! > > How do I construct following string: > > s <- " *** "Hello!" *** " > > TuomasTry the following: s <- " *** \"Hello!\" *** " cat(s, "\n") -- MIYAMOTO, Y.
tuffek at jippii.fi writes:> How do I construct following string: > s <- " *** "Hello!" *** "Either> s <- ' *** "Hello!" *** ' > s[1] " *** \"Hello!\" *** "> cat(s)*** "Hello!" *** > or> s <- " *** \"Hello!\" *** " > cat(s)*** "Hello!" *** > Note that when you print a string all " characters are expressed as \" but if you use the cat function you get the actual string as it is stored.