Let's say I have a bunch of variable names that start with either j1 or j2: j1move j2move j1clean j2clean j1out j2out, and so on. Is there an efficient way to write a loop that would rename all of those variables such that the "j#" gets moved from the beginning of the variable name to the end of the variable name?
-
Login or Register
- Log in with

Comment