Recode ZIP-code

Moderators: statman, Analyst Techy, andris, Fierce, GerineL, Smash

Posts: 1
Joined: Thu Apr 03, 2014 6:25 am

Recode ZIP-code

Postby Henk_spss » Thu Apr 03, 2014 6:30 am

Dear all,

I would like to recode ZIP-codes variable '1234AB' and '1234 AB' into '1234' in a large number of participants, to merge this later on with SES information.

Is there an easy way to create a syntax for this?

Thanks in advance,

Kind Regards,

Posts: 1477
Joined: Tue Jun 10, 2008 4:50 pm

Re: Recode ZIP-code

Postby GerineL » Fri Apr 04, 2014 9:24 am

look into substring syntax.

Who is online

Users browsing this forum: No registered users and 1 guest