|
沙发

楼主 |
发表于 2013-8-9 10:23:11
|
只看该作者
Re: 请教如何分隔字符?
[code:1mtwi7pq]data _null_;
length str $100;
str="a1 b pc2fy ad e";
put '*** Before: ' str;
str=prxchange("s/ +/', '/",-1,cats("'",str,"'"));
put '*** After: ' str;
run;[/code:1mtwi7pq] |
|