This was a pretty easy one. From the previous problem, I knew how to convert a string to an array of char. Then I had to make a copy of the array but in Java, it's not as easy as saying a=b. Then I looped through the first array replacing each letter with the corresponding letter of the second array. Boom easy peasy. Tomorrow I will create a method that can count how many duplicate words are in a string.
Check out my code on GitHub.