read value of string type from enum