Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
native_between_markers solution in Uncategorized category for Between Markers by Jon_Red
def between_markers(t:str,b:str,e:str)->str:
''' returns substring between two given markers '''
return t[t.find(b)+len(b)if b in t else 0:t.find(e)if e in t else len(t)]
April 20, 2020