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

Re: st: rename variables UPPERCASE to lowercase


From   Ada Ma <[email protected]>
To   [email protected]
Subject   Re: st: rename variables UPPERCASE to lowercase
Date   Mon, 26 Apr 2004 15:56:11 +0100

Ahhhhhhh - now it works.  Fab!  Thanks a million!

Ada

Nick Cox wrote:

The keyword -of- is essential. Try
foreach var of varlist QUOTA-UALDWK2 {
rename `var' `=lower("`var'")'
}

Nick [email protected]
Ada Ma

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