5 lines
95 B
Python

def parse(s):
assert s.startswith('"'), s
assert s.endswith('"'), s
return s[1:-1]