Hello, I am working with a variable that is 7 numbers in length and need to identify the first two as they represent a geographic area. I then want to generate a region variable and place each data record into a category ie. All variables that start with 10 are region A, all variables that start with 24 are region B, etc. Help creating this syntax would be appreciated.
-
Login or Register
- Log in with
Comment