Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
that's it solution in Clear category for Between Markers by Tairraos
def between_markers(text: str, begin: str, end: str) -> str:
start = 0 if text.find(begin) < 0 else text.find(begin) + len(begin)
stop = text.find(end)
return text[start:stop] if stop != -1 else text[start:]
May 20, 2018