(message_text)
return message_text.split(WA_TEMPLATE_STRING)[0]
If message is labeled as "invalid_survey_response" then error message should be
    extracted from template string
If message is labeled as "invalid_survey_response" then error message should be
    extracted from template string
If message is labeled as invalid_survey_response then error message should be extracted from template string
def extract_error_message_from_template_string(message_text):
    """If message is labeled as "invalid_survey_response" then error message should be
    extracted from template string
    """
    return message_text.split(WA_TEMPLATE_STRING)[0]
def extract_error_message_from_template_string ( message_text ) : return message_text . split ( WA_TEMPLATE_STRING ) [ 0 ]