Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Find Quotes by vit.aborigen
def find_quotes(a):
result = []
start, end = -1, -1
for idx, char in enumerate(a):
if char == '"':
if start != -1:
result.append(a[start+1:idx])
start, end = -1, -1
else:
start = idx
return result if result else []
Feb. 17, 2019