data work.Count; Text='AUSTRALIA, ENGLAND, CANADA, AUSTRIA, ITALY, US, SPAIN'; USNum=count(Text,'CANADA'); WordNum=countw(Text); run;
data work.samp1; set work.lag0; y=lag1-lag2(item); run; proc print data=work.samp1; run;
data work.samp2; set work.lag0; y=lag2(item); run; proc print data=work.samp2; run;
data work.samp3; set work.lag0; x=lag1(item); y=lag2(item); run; proc print data=work.samp3; run;
data work.samp4; set work.lag0; y=lag1(item); y=lag2(item); run; proc print data=work.samp4; run;
Position=prxmatch('/Dutch/','Sawyer Dutch Kenai');
data _null_; position=prxmatch('/mind/', 'Learning never exhausts the mind.'); put position=; run;
data _null_; position=prxchange('/mind/', 'Learning never exhausts the mind.'); put position=; run;
data _null_; position=prxparse('/mind/', 'Learning never exhausts the mind.'); put position=; run;
data _null_; position=findw('/mind/', 'Learning never exhausts the mind.'); put position=; run;
data work.reverse; set certadv.reversedNames; name=prxmatch('/name/', name); run;
data work.reverse; set certadv.reversedNames; name=prxchange('s/(w+),(w+)/$2 $1/', -1, name); run;
data work.reverse; if _N_=1 then do; pattern='/name'; name=prxparse(pattern); end; set certadv.reversedNames; run;
'r/ABC/ABC87/'
'r/ABC87/ABC/'
's/ABC87/ABC/'
's/ABC/ABC87/'
3.149.238.159