I want to split arrays in an array and get the string of the second elements mixed.
[["c","a","t"], ["d","o","g"]]
...
# => "ao"
How can I do it? I tried the join method and got the second and the fifth ones. But when the word length is different like this:
[["b","i","r","d"], ["c","a","t"]]
I don't know how to do it. Could you give me some advice?