Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Shubhabrata Mukherjee <joy_stat@yahoo.com> |
To | stata forum <statalist@hsphsun2.harvard.edu> |
Subject | st: Re: keep if variable is string |
Date | Sat, 7 Jan 2012 09:48:26 -0800 (PST) |
Thanks a lot. Bot solutions work bu the --ds-- is much faster. -Joey ----- Original Message ----- From: Shubhabrata Mukherjee <joy_stat@yahoo.com> To: stata forum <statalist@hsphsun2.harvard.edu> Cc: Sent: Friday, January 6, 2012 8:08 PM Subject: keep if variable is string Hi, I am using --insheet-- to read in a big file where some variables are numeric and some are string. How can I keep the variables that are string only? Thanks, -Joey * * 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/