LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (March 1998, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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


Back to: Top of message | Previous page | Main SAS-L page