Date: Fri, 13 Oct 2000 15:58:58 -0400
Reply-To: Jim <jlinck@UGA.EDU.NOSPAM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jim <jlinck@UGA.EDU.NOSPAM>
Organization: University of Georgia
Subject: Treating Consective Delimeters as multiple fields in Scan()
Windows 2000. SAS v. 8. Using Scan to break apart some data fields.
However, it is treating multiple occurrances of the same delimeter as one
delimeter, which is not what I want. SAS Online documentation confirms
this:
"Leading delimiters before the first word in the character string do not
effect SCAN. If there are two or more contiguous delimiters, SCAN treats
them as one"
However, I cannot find details which tell me how to change this - i.e., I
want multiple delimeters to mean multiple fields. For example, if * is my
delimiter, I want
Var 1*Var2**Var4
to give me for fields, the third of which is empty (missing). Thanks.
Jim
|