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: changing values to either all caps or all lowercase


From   Kathleen Oberst <Kathleen.Oberst@hc.msu.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: changing values to either all caps or all lowercase
Date   Thu, 1 Nov 2012 11:30:39 +0000

I have a variable (ex. City name) and I'm trying to clean it up. I have the same city entered in as all lowercase, first letter capitalized or all upper case. Is there a way to force them all into upper or lower case? I've tried the "lower" command but it was not recognized. I'm using version 11. Thank you for your time.

Kathleen

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


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