Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: how to handle this type of strings: "text (i.e it containes only one ")


From   Adrian Gonzalez <agonzalezmix@yahoo.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: how to handle this type of strings: "text (i.e it containes only one ")
Date   Sat, 20 Feb 2010 08:18:16 -0800 (PST)

Dear members

I have a string VARIABLE that contains the following value "text (the " is part of the string value).

and I want to delete those rows , but when i write
delete if VARIABLE=""text"

I get the following error
too few quotes
r(132);

i am using Stata 10.1

Thanks for your help



      
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index