parameters: (base, start, end)
return_statement: return '', split[0]
docstring: Extracts a substring with a specified start and end from a string.
  
    Arguments:
      - base: string to extract from.
      - start: string to use as the start of the substring.
      - end: string to use as the end of the substring.
  
    Returns:
      - The substring if found
      - The part of the base after end of the substring. Is the base string itself
        if the substring wasnt found.
docstring_summary: Extracts a substring with a specified start and end from a string.
docstring_tokens: Extracts a substring with a specified start and end from a string .
function: def get_string_between(base, start, end):
    """Extracts a substring with a specified start and end from a string.
  
    Arguments:
      - base: string to extract from.
      - start: string to use as the start of the substring.
      - end: string to use as the end of the substring.
  
    Returns:
      - The substring if found
      - The part of the base after end of the substring. Is the base string itself
        if the substring wasnt found.
    """
    split = base.split(start, 1)
    if len(split) == 2:
      rest = split[1].split(end, 1)
      assert len(rest) == 2, \
             'cannot find end "{end}" while extracting substring '\
             'starting with {start}'.format(start=start, end=end)
      return rest[0].rstrip(end), rest[1]
    return '', split[0]
function_tokens: def get_string_between ( base , start , end ) : split = base . split ( start , 1 ) if len ( split ) == 2 : rest = split [ 1 ] . split ( end , 1 ) assert len ( rest ) == 2 , 'cannot find end "{end}" while extracting substring ' 'starting with {start}' . format ( start = start , end = end ) return rest [ 0 ] . rstrip ( end ) , rest [ 1 ] return '' , split [ 0 ]