Date: Tue, 2 May 2006 13:34:19 -0700
Reply-To: lzhang9830@YAHOO.COM
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Lei Zhang <lzhang9830@YAHOO.COM>
Organization: http://groups.google.com
Subject: Re: is there an easy way to trim blanks on the left side of a
Content-Type: text/plain; charset="iso-8859-1"
Harry,
Sorry, I didn't presnent my problem correctly.
I actually am looking for a simple method to trim the blanks on
the RIGHTside of a SAS string, not left side. There are two
conditions:
First. Excepting the trailing balnks, the positions of other
characters should not chnaged, and
Second, the blanks (if any) on the left sides should not be removed
.
I guess SAS should provide a Base function called RTRIM(), but I
simply can not find it.
Lei
|