Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Index fun(d) solution in Clear category for Between Markers (simplified) by evrur97
def between_markers(text: str, begin: str, end: str) -> str:
"""
returns substring between two given markers
"""
return text[text.index(begin) + 1: text.index(end)]
Aug. 1, 2019