added method 'getChoiceByChar'