Thread:Help talk:Properties and types/State to abbreviation/reply (3)

then you can probably use Parser Functions extensions, i.e. switch function. You can wrap into a template an expression that will check the value of the property State and the consequence of switch will be setting StateAbr property.