Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: modification on <renpfix>?


From   Danielle Ferry <[email protected]>
To   StataList <[email protected]>
Subject   st: modification on <renpfix>?
Date   Mon, 6 Dec 2004 17:47:00 -0500

Hi,
Is there a command similar to <renpfix> where instead it renames all variables that END with old_stub to END with new_stub? If not, can anyone suggest a relatively easy way of doing this for a large number of variables that all end with the same stub? I.e., I want to rename everything *_ja to *_1 and everything *_fe to *_2, etc. Thanks.
Danielle Ferry

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