LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (March 2004, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 5 Mar 2004 12:40:23 -0800
Reply-To:     "Tarbash Patel a.k.a. Babu" <epidemiologist@SCIENTIST.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Tarbash Patel a.k.a. Babu" <epidemiologist@SCIENTIST.COM>
Organization: http://groups.google.com
Subject:      Re: tab character as delimiter
Content-Type: text/plain; charset=ISO-8859-1

slefkowit@cas.org (Sanford Lefkowitz) wrote in message news:<8f48288f.0403050743.1619b0bf@posting.google.com>... > In the SCAN function (to find a field in long string), the third > paramater is the delimiter. > How do I specify the tab character to be a delimiter? > > TIA > Sanford

Sanford,

Do this

data Suganshu; set DataThatContainsTabs; Tab1 = scan(VariableThatContainsTabs,1,"09"x); run;

"09"x is TAB

Thank you,

Babu...

I love Suganshu!!!


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