I have strings like this
"'Hello, how are you?','string',123"
I need to split it so it looks like
["'Hello, how are you'", "'string'", "123"]
But when I use String.split(","), I get this:
["'Hello", "how are you'","'string'","123"]
How can I split by comma but only when it's not between single quotes?