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!!!
|