I want to rename my variables (which now have long names since they come
from an excel sheet). I would like to know if there is a quick way to rename
a recurring word to an abbreviation.
For example, a lot of my variables contain the word 'households' and I would
like to rename it to 'hh' for easier access later. I know there's renpfix,
but this only takes care of characters at the start of the variable name.
Thank you,
Radu Ban
*
* 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/