View Single Post
  #2 (permalink)  
Old 11-04-2007, 11:25 PM
JavaBean's Avatar
JavaBean JavaBean is offline
Moderator
 
Join Date: May 2007
Posts: 1,272
JavaBean is on a distinguished road
Create a new String object and append each character of the second String to the new one. A for loop starting from the last character of the first string going towards its beginning is enough. Check substring() method of String class to get one character at each step of your loop.
Reply With Quote