julia> str = "[1, 2, 3, 4, 5]";
julia> parse.(Int, split(chop(str; head=1, tail=1), ','))
5-element Vector{Int64}:
1
2
3
4
5
9 Likes
julia> str = "[1, 2, 3, 4, 5]";
julia> parse.(Int, split(chop(str; head=1, tail=1), ','))
5-element Vector{Int64}:
1
2
3
4
5