def _get_contents_between(string, opener, closer):
    """
    Get the contents of a string between two characters
    """
    opener_location = string.index(opener)
    closer_location = string.index(closer)
    content = string[opener_location + 1:closer_location]
    return content