Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: rename


From   Federico Giorgio Mantovanelli <[email protected]>
To   [email protected]
Subject   Re: st: rename
Date   Wed, 29 Mar 2006 13:27:18 +0000 (GMT)

you should use the command rename:
for example rename _var1 var1
 
 
Federico
 


----- Messaggio Originale -----
Da: Johannes Ziemendorff
Data: Mercoledi', Marzo 29, 2006 2:18 pm
Oggetto: Re: st: rename
A: [email protected]

> Ein ganz simpler rename tuts wohl nicht, oder?
>
> Johannes
>
>
> > --- Urspr�ngliche Nachricht ---
> > Von: "Hans J. Baumgartner"
> > An: [email protected]
> > Betreff: st: rename
> > Datum: Wed, 29 Mar 2006 14:05:01 +0200
> >
> > Dear statalist,
> >
> > some of my data?s variables have an leading underscore but not
> all, i.e.:
> >
> > _var1 _var2 _var3 var4 var5 _var 6
> >
> > How can I remove the leading underscore to get
> >
> > var1 var2 var3 var4 var5 var6
> >
> > Any suggestions are welcomed.
> >
> > Best wishes
> > Hans
> >
> >
> >
> >
> >
> > ++++++++++++++++++++++++++++++++
> > Hans J. Baumgartner
> > Dept. Public Economics
> > DIW Berlin
> > German Institut for Economic Research
> > phone: +49/30/89789-307
> > fax : +49/30/89789-114
> > URL: www.diw.de
> > www.hansbaumgartner.de
> > ++++++++++++++++++++++++++++++++
> >
> > *
> > * 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/
> >
>
> --
> "Feel free" mit GMX FreeMail!
> Monat f�r Monat 10 FreeSMS inklusive! http://www.gmx.net
> *
> * 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