He didn't, this only works if you are looking to switch the first and last words in a two word string :p. There is no mobility for this code so it shows oman the fish without handing it over. He would be better off loading the input into a string array and outputting the array in reverse, is this giving away TMI?