def strip_quotes(string):
    """Strip quotes from string."""
    if string.startswith("'"):
        string = string.strip("'")
    elif string.startswith('"'):
        string = string.strip('"')
    return string