Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
3-liner: find only solution in Creative category for Between Markers by przemyslaw.daniel
def between_markers(txt, begin, end):
a, b, c = txt.find(begin), txt.find(end), len(begin)
return [txt[a+c:b], txt[a+c:], txt[:b], txt][2*(a<0)+(b<0)]
Nov. 18, 2017
Comments: