if they are all one word values, as below, use the "proper" function
Rich
Mike Kim wrote:
> Dear all,
>
> I would like to convert a string variable into lower case except the first
> letter. That is:
> from ARGENTINA to Argentina
> from BELGIUM to Belgium
> ....
>
> Using "lower" converts every letter into lower case: gen
> cntry=lower(country)
>
> country
> ARGENTINA
> BELGIUM
> ....
>
> Thank you in advance.
> Mike.
*
* 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/