Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
simple slice solution in Clear category for Between Markers (simplified) by t4d3uszk
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)]
July 18, 2019
Comments: