Functions with Strings

Have you taken a look at enums? They are built in or there is a package with extended functionality.