Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Between Markers by vova1238
def between_markers(text: str, begin: str, end: str) -> str:
return text[text.find(begin)+len(begin) if begin in text else 0:text.find(end) if end in text else None]
May 30, 2021