|
-----Original Message-----
From: Jamil Ibrahim [mailto:jibrahim@ir.umsmed.edu]
Sent: Wednesday, October 22, 2003 5:34 PM
To: Randy Herbison
Cc: Jamil Ibrahim
Subject: RE: remove double blank lines from data
HI Randy:
thank you for this quick response. I think my message was not clear in the
first email. I would like to remove all blank lines from file and only keep
one blank line before each Line starting with the string "comment:_______"
thank you........
OK, try this:
data _null_;
input @1 rec $char80.;
if rec ne ' ';
file "c:\testcnt.dat";
if upcase(substr(left(rec),1,8))='COMMENT:' then put;
put rec $char80.;
cards;
RandyHerbison@westat.com <mailto:RandyHerbison@westat.com>
|