What is a SimpleVector? How to convert it to a String


#1

I find that DocStr uses SimpleVector to store the text, I would like to convert it back to a String, is it possible? How?


#2

Just found out myself… simply indexing can do.


#3
julia> x = Core.svec("abc")
svec("abc")

julia> typeof(x)
SimpleVector

julia> y = x[1]
"abc"

julia> typeof(y)
String