'Read the next token and interpret it as a string.
@raises dns.exception.SyntaxError:
@rtype: string'

def get_string(self, origin=None):

    token = self.get().unescape()
    if (not (token.is_identifier() or token.is_quoted_string())):
        raise dns.exception.SyntaxError('expecting    a    string')
    return token.value
