Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Between Markers (simplified) by dx2-66
def between_markers(text: str, begin: str, end: str) -> str:
"""
returns substring between two given markers
"""
return text[text.find(begin)+1 : text.find(end)]
May 2, 2022
Comments: