Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Between Markers by Olya_Tovstenko
def between_markers(text: str, begin: str, end: str) -> str:
b = text.find(begin)
e = text.find(end)
return text[b + len(begin) if b != -1 else 0:
e if e != -1 else len(text)]
Aug. 15, 2019
Comments: