Date: Tue, 26 Sep 2000 08:33:31 -0700
Reply-To: Cassell.David@EPAMAIL.EPA.GOV
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "David L. Cassell" <Cassell.David@EPAMAIL.EPA.GOV>
Subject: Re: WHAT IS WRONG WITH THIS CODE?
Content-type: text/plain; charset=us-ascii
Jamil Ibrahim wrote:
> Hi my goal is to make this code wrap the var topic into 40 character lines
Thank you. But you *still* haven't given us enough information. Do you
want to wrap at word boundaries, or are you happy with splitting words?
What do you want to do about any really long word that might lie across
your 40-character boundary? Are the lines really as you have them in your
first post, or does the ID variable really sit at position 88 all the time?
Is it possible for the variable TOPIC to have a word or string of over 40
characters, and if so, how do you handle that?
If you just want to break TOPIC up into strings of words so that none of the
strings is longer than 40 characters, then I suggest you look at the scan
function.
David
--
David Cassell, OAO Corp. Cassell.David@epa.gov
Senior computing specialist
mathematical statistician
|