----- Original Message -----
From: TEWODAJ MOGUES <[email protected]>
Date: Wednesday, November 10, 2004 9:31 am
Subject: st: Dealing with string variables
> Dear Statalisters,
>
> For the longest time I have been trying to find ways around
> certain
> commands that would involve string variables, but I can't believe
> that
> these commands really don't exist. Hence my question: For example,
> if "grain" is a string variable, how do I do an operation such as
> "drop
> if grain==wheat"?
<snip>
drop if grain == "wheat"
Scott
*
* 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/