Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
find begin and end solution in Clear category for Between Markers by ludek.reif
def between_markers(text: str, begin: str, end: str) -> str:
index_begin = (len(begin) + text.find(begin)) if text.find(begin) > -1 else 0
index_end = text.find(end) if text.find(end) > 0 else len(text)+1
return text[index_begin:index_end]
Sept. 18, 2019
Comments: