Quantcast
Channel: First steps - JuliaLang
Viewing all articles
Browse latest Browse all 2795

How to convert 1-element Array{String,1} to string?

$
0
0

Hello,
I have this array:

unique(w.Hit)
1-element Array{String,1}:
 "AC_000006.1 Human adenovirus D"

I would like to get the letters from position 13 to the end but:

julia> unique(w.Hit)[13:length(unique(w.Hit))]
0-element Array{String,1}
julia> length(unique(w.Hit))
1

How can I convert unique(w.Hit) into a string?
Thanks

5 posts - 5 participants

Read full topic


Viewing all articles
Browse latest Browse all 2795

Trending Articles