Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Rename all variables in one go

    Hey everyone,

    I recieved an excel file today where all the variables are named CH4_varname.


    Is there a command on stata where I can rename all these variables removing the CH4 as it very unintuitive when dealing with them.


    Thanks already!

  • #2
    Code:
    rename CH4_* *

    Comment


    • #3
      This works perfectly, thanks!

      Comment

      Working...
      X