added StringToEnumConstant conversion