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

Re: st: Rename question

From   "Clive Nicholas" <>
Subject   Re: st: Rename question
Date   Wed, 25 Aug 2004 18:00:16 +0100 (BST)

Samani Lamabadusuriya wrote:

> I am new to Stata and would really appreciate your help with the rename
> function.  I'd like to rename range of variables jan02 - jul04 to mjan02 -
> jul04, is there a quicker way to do this than using rename a million
> times?

In addition to David's ingenious code, check out Jeroen Weesie's -renvars-

. ssc desc renvars

CLIVE NICHOLAS        |t: 0(044)191 222 5969
Politics              |e:
Newcastle University  |
*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index