Replacing the chars within a string.
Hello all. What I am trying to do is transpose each letter in a string and putting that string into a new string that will go into a new array.
EDIT: Ok I got it to work but the output is weird now on some of them. I was hoping if someone can explain.
EDIT: REMOVED CODE TO PROTECT MYSELF FROM PEOPLE IN MY CLASS FINDING IT AND COPYING IT. PROFESSOR USES A SCRIPT TO MATCH ANY SIMILARITIES IN CODE TO PREVENT CHEATING.
As you can see the words in bold in the output, the first letter does not go in order.
Any help would be greatly appreciated.