You can also look up " in an ASCII table and then use
. gen quote = char(34)
Friedrich Huebler
--- Seb Buechte <[email protected]> wrote:
> Yes it is:
>
> gen quote=`"""'
>
> should work.
>
> unfortunately I do not know the english words for the leading and
> the
> ending character in that sequence meaning ` and ' . Using these
> solves the issue.
>
> sebastian
>
> On 5/19/05, Sherman, Richard <[email protected]> wrote:
> > Dear Statalist,
> >
> > Is it possible to create a string variable containing only the
> > character " ? Stata 8 won't let me do so with the command
> >
> > gen quote = """
> >
> > or in the data editor.
> >
> > This would be convenient for, e.g, labeling variables with the
> > values of another variable.
> >
> > Thanks,
> >
> > Richard Sherman
> > Department of Political Science, Leiden University
> > Leiden, Netherlands
> > http://homepage.mac.com/richard.sherman/
Discover Yahoo!
Get on-the-go sports scores, stock quotes, news and more. Check it out!
http://discover.yahoo.com/mobile.html
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/