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 (September 2000, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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?
Comments: To: jibrahim@ir.umsmed.edu
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


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