Hello, I have a series of varnames named year2010A | year2010B | ... | year2011A | year2011B | ...

I want to rename these (so that ultimately I can reshape) to A2010, B2010, ... , A2011, B2011, etc.

How can I so this?

I have tried multiple loops, local names, and substr()'s but I cannot get the final outcomes.

Thank you very much in advance!