@staticmethod
    def extractAnswerFromAnswerList(answer_list, question_code):

        start = answer_list.find(question_code)
        if start == -1:
            return None
        start = start + len(question_code) + 3
        end = answer_list.find('"', start)
        answer = answer_list[start:end]
        return answer

    # -------------------------------------------------------------------------
function to extract the answer for the question code
dataset/ETHPy150Open sahana/eden/modules/s3db/survey.py/S3SurveyCompleteModel.extractAnswerFromAnswerList