You’re confusing strings and arrays. You have an array with mixed elements:
The first element is a printed representation of a string ("[1,2,3]"
), the latter is a printed representation of an array ([1, 2, 3]
or
[1, 2, 3]
doesn’t matter, as it’s just how julia prints the array to the screen).
Please enclose your code in triple backticks when posting to make it easier for people to read it and follow along. This makes it easier for use to help you.