BookmarkSubscribeRSS Feed

[SAS 프로그래밍 고수 백승민] [DLMSTR] 문자열을 구분자로 사용하기

Started ‎06-11-2020 by
Modified ‎06-11-2020 by
Views 68

* 출처 : http://cafe.daum.net/statsas/3F8j/238

 

* '&' '@' '&@' 등을 각각 구분자로 처리;

DATA BACK1;
INFILE DATALINES DLM='&@&';
INPUT X $ Y $;
DATALINES;
A&A&&@&B
;

 

* '&@&' 를 구분자로 처리;

DATA BACK2;
INFILE DATALINES DLMSTR='&@&';
INPUT X $ Y $;
DATALINES;
A&A&&@&B
;
 

Version history
Last update:
‎06-11-2020 10:16 PM
Updated by:
Contributors

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

Article Labels
Article Tags