Date: Fri, 26 May 2006 11:59:12 -0400
Reply-To: rathindronath <mehedisas@YAHOO.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: rathindronath <mehedisas@YAHOO.COM>
Subject: A Problem with sas variables
I have few question:
1)I have a variable which is 120 character long. But I need to change
either the length of the variable or take first 20 character of values
which ever is better. How can I do that? I can not use Length statement
cause the length of this variable is pre determined.
2) For the variable X I have the following value:
Pre dose/ base line
Pre done/ Follow up
I do not need the pre dose porting. My output should be:
base line
Follow up
How can I do that.
Thanks for your help