Hi guys,
suppose to have the following dataset:
data Tab3 (drop=value myperc_ label2);
set Tab3_;
mycount = input(scan(value , 1, ' ('), best.);
myperc_ = scan(value , 2, '()');
perc = compress(myperc_ , ' %');
label = label2;
run;
With these few lines of code I split value from [N(%)] to [N], [%] as two different variables instead of one.
I have to do this for 30 tables that are generated by a macro I cannot modify because of company policies. Is there a way to perform this task once across multiple tables, rather than editing each table individually?
One note: the output tables are stored in my working dir.
Thank you in advance.