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 1997, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 8 Sep 1997 21:54:00 -0700
Reply-To:     Greg Bryant <gbryant@SLIPNET.COM>
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         Greg Bryant <gbryant@SLIPNET.COM>
Organization: Slip.Net (http://www.slip.net)
Subject:      Re: Function to count WORDS in SAS
Content-Type: text/plain; charset=us-ascii

Have some fun Bruce, write the code yourself. It's a great way to experiment with SAS macro calls in a DATA STEP, if you choose.

good luck,

greg

Bruce Goodman wrote:

> Quick question. Is there a function or macro which will count the > number of words in a string??? For example, SCAN(var,n) will return me the > n'th word, but is there a function that will tell me how many words were > actually found??? > > Bruce Goodman......BEGOODMAN@HOTMAIL.COM


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