Date: Fri, 20 Mar 1998 16:13:19 -0500
Reply-To: "abdu.elnagheeb(a)nationsbank.com"
<abdu.elnagheeb@NATIONSBANK.COM>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: "abdu.elnagheeb(a)nationsbank.com"
<abdu.elnagheeb@NATIONSBANK.COM>
Subject: %SCAN and the Semicolon (;)
Hello everyone,
It seems that %SCAN can't catch the semicolon (;). For example, if
you have (parts of a macro):
%LET text1 = %str(pppplllm ; tttttt ; kkkkkk ;) ;
%do i =1 %to 9999;
%let check = %scan(&text1, &i) ;
%end ;
the macro variable check will NEVER assume the value ';' . Am I
wrong?
What else can one do to capture the semicolon there?
Thanks and have a nice weekend.
abdu
|