Hello

I am trying to shorten the labels of the variable in my dataset. Eg:


storage display value
variable name type format label variable label
-----------------------------------------------------------------------------------------------------------------------
resp_agr_deci~n str1 %9s survey/Group1/resp_agr_decision
resp_joint_ag~c str1 %9s survey/Group1/resp_joint_agr_decision

I need to eliminate the first part of the label "survey/Group1/" from each variable label. Is it possible to do it by using substr with foreach command?


Thank You
Smriti