Thursday, January 28, 2021

Trimming certain part of variable labels

I am trying to remove the "R10 D Covid-19 Sp" part from all the variables. I used the
Code:
cleanchars , in("R10 D COVID-19 SP")
(SSC) command, but it removes all the letters included in it and not just the defined portion of the variable label. Please let me know if there is another of doing it.
Thank you.

Array

No comments:

Post a Comment