'function to extract the answer for the question code
passed in from the list of answers. This is in a CSV
format created by the XSL stylesheet or by the function
saveAnswers()'

@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
