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