I tried to search for a required solution and help but really couldn't find something to write. I need this JavaScript function to do the following.
I have the following set of lines.
AAAAAAA
BBBBBBB
CCCCCCC
DDDDDDD
And I need to convert the above data into columns so the output would be like this.
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
That means the rows will be converted into columns.
Anyone can help with a JavaScript or jQuery function to get the results?