Date: Thu, 4 Jun 2009 15:39:06 -0700
Reply-To: jasonm@UCLA.EDU
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: J M <jasonm@UCLA.EDU>
Subject: Separating Two Words into Two Variables
Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed"
How do I create two variables from a variable that contains
observations with two words?
For example, if a=Apple District how would I create a1=Apple and a2=District?
or if a=Green Region how would I create a1=Green and a2=Region?
Thank you.
|