Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
variable [names???] all in lower case [was: Re: st: Regarding Dates in String format]
From 
 
Nick Cox <[email protected]> 
To 
 
[email protected] 
Subject 
 
variable [names???] all in lower case [was: Re: st: Regarding Dates in String format] 
Date 
 
Wed, 28 Nov 2012 08:48:39 +0000 
My guess is that you want the variable _names_ to be lower case.
. rename *, lower
See -help rename- or http://www.stata.com/help.cgi?rename_groups
Nick
P.S. The list is called Statalist, not Stat List.
P.P.S. If you are not using Stata 12, you should have said so, but
-renvars- from SJ will do this also.
P.P.P.S. Please change the title when you change the subject.
On Wed, Nov 28, 2012 at 5:05 AM, Michael Stewart
<[email protected]> wrote:
> Dear Stat List user ,
> I have couple of questions regarding variables .I have a large dataset
> with approximately 600 variables.
> some are upper case and some are lower case.I  want to convert all of
> them to lower case. Is there a stata command to convert all variables
> to lower case
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/