Bookmark and Share

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]

Re: st: change string variable


From   Nick Cox <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: change string variable
Date   Thu, 10 Oct 2013 16:34:36 +0100

Use the function -upper()-.

Nick
[email protected]


On 10 October 2013 16:31, Shuaizhang Feng <[email protected]> wrote:

> suppose I want to change lower case letters to upper case letter for
> all string variables, what should I do. For example, change "f2013" to
> "F2013" and all like.
*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index