%let var=XY10Model, Car, Color;
%put &var;
%let Newvar=%sysfunc(prxchange(s/^XY10Model/Model/,1,%bquote(&var)));
%put &NewVar;
%let var=Car, Color, XY10Mode;
%put &var;
%let Newvar=%sysfunc(prxchange(s/^XY10Model/Model/,1,%bquote(&var)));
%put &NewVar;
... View more