data tmp;
format tmp_01 tmp_02 tmp_03 $30.;
tmp_01="CDA数据分析师";
/*把分析师截取出来*/
tmp_02=substr(strip(tmp_01),index(tmp_01,'分析师'),sum(length(tmp_01),-index(tmp_01,'分析师'),1));
/*解析:查找开始汉字的位置,然后截取 往后多少位字符,如果是到最后,那可以看下*/
tmp_03=substr(strip(tmp_01),index(tmp_01,'分析师'));
put tmp_02 tmp_02;
run;