Date: Wed, 25 Oct 2006 11:53:22 -0400
Reply-To: Gene Maguin <emaguin@buffalo.edu>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Gene Maguin <emaguin@buffalo.edu>
Subject: Re: Removing partial data from variable
In-Reply-To: <200610251422.k9PDnkra009094@mailgw.cc.uga.edu>
Content-Type: text/plain; charset="us-ascii"
Randi,
I'm going to assume that your current date variable (Date) is A9 format and
that you want an A8 format with the comma deleted.
String newdate(a8).
Compute newdate=substr(date,2,8).
Gene Maguin
|