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 (April 2009, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 20 Apr 2009 11:33:08 -0700
Reply-To:     "Terjeson, Mark" <Mterjeson@RUSSELL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Terjeson, Mark" <Mterjeson@RUSSELL.COM>
Subject:      Re: String function help
Comments: To: sasbegy <pattukuttani@GMAIL.COM>
In-Reply-To:  A<7c5c5816-0eb1-4a92-b1ca-726e6f1e0c05@q16g2000yqg.googlegroups.com>
Content-Type: text/plain; charset="us-ascii"

Hi sasbegy,

While the SCAN() function will allow you to fetch the first word in string, I think due to the unlimited possibilities that "first word in a group of strings" could mean, it probably would be better to give us some samples of what the source data might be and then a sample of what your desired output might be. Otherwise, there are too many variations to guess at.

Hope this is helpful.

Mark Terjeson Senior Programmer Analyst Investment Management & Research Russell Investments 253-439-2367

Russell Global Leaders in Multi-Manager Investing

-----Original Message----- From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of sasbegy Sent: Monday, April 20, 2009 11:23 AM To: SAS-L@LISTSERV.UGA.EDU Subject: String function help

Hi, I need a help to write a code on How to return the the first word in a group of strings in sas ?

Thanks


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