I wanted to ask. if there is an efficient way to split a string and ignore inner strings of is
Example: I get a string in this format:
s = 'name,12345,Hello,\"12,34,56\",World'
and the output I want, is:
['name', '12345', 'Hello', "12,34,56", 'World']
by splitting at the "," the numbers become separated:
['name', '12345', 'Hello', '"12', '34', '56"', 'World']
I know I could split at \" and split the first and the third part separately, but this seems kind of inefficient to me