Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: change case of variable names


From   Joseph Coveney <[email protected]>
To   Statalist <[email protected]>
Subject   Re: st: change case of variable names
Date   Tue, 02 Aug 2005 11:28:20 +0900

Peter Lachenbruch wrote (excerpted):

I have a data set with about 600 variables and all are in upper case.  Is
there a simple way to make the case lower?

--------------------------------------------------------------------------------

-varcase _all-

It's in SSC:

    "'VARCASE': module to toggle the case of variable names / varcase toggles
    the case of variable names, from upper to lower / or from lower to upper,
    whichever is appropriate. It checks to / see whether toggling the case
    will create an unused variable / name, and handles such conflicts"

Joseph Coveney


*
*   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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index