Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: how to DE-CAPITALISE variables?


From   Jose Benuzillo <Jose.Benuzillo@hsc.utah.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: RE: how to DE-CAPITALISE variables?
Date   Mon, 28 Jun 2010 09:55:18 -0600

I think you can use the strlower function

string matrix strlower(string matrix s)

-j


-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Josef Montag
Sent: Monday, June 28, 2010 9:50 AM
To: statalist@hsphsun2.harvard.edu
Subject: st: how to DE-CAPITALISE variables?

Hi all,

a sily/simple question: I have a dataset in which all variable names are in CAPITAL letters. Is there a simple way how to de-capitalise them?

Thanks a lot, Josef
*
*   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/

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


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index