I have this string
'["el1", "el2", "el3"]'
and it is a string, not an array, and all of 3 elements can change casually, but the elements are always 3. I want to create a variable for all the 3 elements, like
var1 = "el1"
var2 = "el2"
var3 = "el3"
A possible solution is converting this string into an array.. but i don't know how i can do it. Another solution is splicing the string but as always i don't know how i can do it. anyone can help?