How to line break a very long 1-row string array?

You can (equivalently) just use permutedims(row2)

Another alternative is to use a multi-line comment to absorb the line break:

row2 = ["" "" "" "umol/kg" "" "" #=
=#    "kg/m3" "decimal degrees"]

#= ... =# can generally be used for line continuation in Julia.

3 Likes