Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Index! solution in Clear category for Between Markers (simplified) by Sioul
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)]
April 5, 2019