# Transpose of an array of Strings

**URL:** <https://discourse.julialang.org/t/transpose-of-an-array-of-strings/40431>\
**Category:** New to Julia\
**Tags:** strings, arrays\
**Created:** [May 29, 2020, 5:26pm UTC](https://discourse.julialang.org/t/transpose-of-an-array-of-strings/40431 "2020-05-29T17:26:45Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![pdeffebach](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pdeffebach/32/10320_2.png) [@pdeffebach](https://discourse.julialang.org/u/pdeffebach)\
**Post date:** [May 29, 2020, 6:45pm UTC](https://discourse.julialang.org/t/transpose-of-an-array-of-strings/40431/11 "2020-05-29T18:45:20Z")

</div>

```julia
julia> x = ["a string" "another string"]
1×2 Array{String,2}:
 "a string" "another string"

julia> permutedims(x)
2×1 Array{String,2}:
 "a string"
 "another string"

```

Notice that the result is still a `Array{String, 2}`, which is not a `Vector` i.e. `Array{String, 1}`

---

_[View the full topic](https://discourse.julialang.org/t/transpose-of-an-array-of-strings/40431)._
