It is hard to give advice if Zhangqunzi does not explain what "But it
doesn't work" means in this context.
sysuse nlsw88 ,clear
ta race ,g(foo)
ren foo* bar*
works perfect for me.
Best
Daniel
--
Dear all,
I am trying to rename a current varlist prc1...10 into shrout1....10.
I tried
rename prc* shrout*
But it doesn't work, what command should I use then?
Thanks a lot in advance
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/