1 = Code R% = Residential
2 = Code C% = Commercial
3 = Code CE% = Educational
4 = Code CX% = Emergency Services
...etc.,
where % is a wildcard character
I have tried a couple of transformers, but most don't support wildcards, so the 'best' option so far I have come up with is 10 pairs of Tester+AttributeCreator transformers in sequence.
My feeling is that there may be an easier way. Is there?
(Note: I am aware of the overlap in codes. The second line classes all lines starting with C as Commercial, but then the third line reclassifies those starting with CE as Educational)