I want to translate 0-9 character # and A-Z to $
Thanks in advance!!!!
data have;input x $20.;cards;123q987;run;data want; set have; t=prxchange('s/\d/#/',-1,x); y=prxchange('s/[a-z]/$/i',-1,t); drop t;run;
View solution in original post
Look at the TRANSLATE function
Or the TRANSWRD
Need further help from the community? Please
ask a new question.