Date: Thu, 5 Jul 2001 19:50:48 -0400
Reply-To: Ans Bilhorn <bilhorn@MINDSPRING.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Ans Bilhorn <bilhorn@MINDSPRING.COM>
Organization: MindSpring Enterprises
Subject: Regularly irregular input file
I have a text file that I am trying to read that looks somewhat like the
following
START FILE
--------------------------------------------------
5011
VariableName1
And here is a bunch of text that some user entered. It can be 1000
characters
long, can have various carriage returns in it
--------------------------------------------------
5033
VariableName2
And here is yet more text.
Except for I didn't keep typing but decided
to put a lot of carriage returns in my text
---------------------------------------------------
5034
VariableName3
More text
etc.
etc.
END
The 4 digit number is the id number, the variable name is just that and the
rest is text that I am trying to
put into a comment field.
Any ideas, suggestions would be welcome.
Ans