LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (October 2006)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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


Back to: Top of message | Previous page | Main SPSSX-L page