I have the following string
l = "['name1', 'name2', 'name3']"
Now, I'd like to turn this into a proper array of strings, such as:
["name1","name2","name3"]
I know that one can use Meta.parse in Julia, to turn an expression into a Julia object.
The following code works:
Meta.parse("['a','b','c']")
But when each string has more than one character, Julia gives the following error message:
Base.Meta.ParseError("character literal contains multiple characters")
Any idea on how to solve this problem?