Date: Sat, 31 Jan 2004 11:00:59 -0500
Reply-To: Jules Bosch <Jules@BOSCHSYSTEMS.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jules Bosch <Jules@BOSCHSYSTEMS.COM>
Subject: Re: removing leading characters?
Content-type: text/plain; charset=us-ascii
A 30-second solution would be to simply divide the variable
CUSTOMER_ACCOUNT_ID by the value 1. SAS would then create the numeric
variable NEW_CID as in -
NEW_CID= CUSTOMER_ACCOUNT_ID / 1;
I am sure more eloquent solutions will follow.
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of
Sent: Saturday, January 31, 2004 6:38 AM
Subject: removing leading characters?
I have a problem that I hope one of you knowledgable souls in here could
please help me with!
I have a character variable called customer_account_id (length $12.)
values of which typically look as below:
How can i can i get rid of the prevaling zero characters from this
All replies greatly appreciated.