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 (October 2000, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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


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