Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Between Markers by denys.contant
def between_markers(text, begin, end):
i = text.find(begin)
if i == -1:
i = 0
else:
i = i+len(begin)
j = text.find(end)
if j == -1:
j = len(text)
return text[i:j]
Oct. 5, 2018
Comments: