|Date: ||Wed, 18 Dec 2002 10:48:54 -0600|
|Reply-To: ||"Wall, Deborah A." <firstname.lastname@example.org>|
|Sender: ||"SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>|
|From: ||"Wall, Deborah A." <email@example.com>|
|Subject: ||Re: converting text to numeric|
|Content-Type: ||text/plain; charset="us-ascii"|
If you are reading in the data via a DATA LIST command and the values
are in set columns, my suggestion is to not read the alpha part of data.
Here is an example:
Data List / numpart 2-6.
University of Missouri - Kansas City
Kansas City, MO 64110-2499
From: SPSSX(r) Discussion [mailto:SPSSX-L@LISTSERV.UGA.EDU]On Behalf Of
Sent: December 17, 2002 5:01 PM
Subject: converting text to numeric
I have a string variable and in the field, the values look like this:
A29002 and so forth
I would like a numeric variable where the value is just the number:
29002 and so forth
Has anyone done anything like this?
Please reply directly to me, as I am not on the list serv.