I have a dataset with geo codes for PUMAS (i.e. g0100100) and I know the first two digits after the g represent the state for the PUMA. What I need help with is finding a formula I could use in CODAP to create a new attribute with letter abbreviations for each state from the two digit designations in the PUMA geo codes. I am guessing I need some kind of index that maps the two with a find and replace like feature but I could use some help. Thanks!