Given the following array of strings:
a = ["Chile", "Colombia"]
How is it possible to get a string like "Chile, Colombia"
, with or without quotation marks?
julia> a = ["Chile", "Colombia"]
2-element Vector{String}:
"Chile"
"Colombia"
julia> join(a, ", ")
"Chile, Colombia"
6 Likes
Without quotation marks:
julia> print(join(a, ", "))
Chile, Colombia
1 Like