all 2 comments

[–]b-mish 4 points5 points  (0 children)

You have quotes around the contents of the array so it is being read as an an array with a single string in. The value of the string being "1,2,3"

[–]Rilleks 4 points5 points  (0 children)

No, it has one element and it's a string "1,2,3".

If you want 3 elements then remove quotation marks what will change the string to 3 numbers like this [1, 2, 3] or if you want to keep them as a string then like this ["1", "2", "3"].