View Single Post
  #2 (permalink)  
Old 03-08-2008, 10:02 PM
hardwired hardwired is online now
Senior Member
 
Join Date: Jul 2007
Posts: 1,141
hardwired is on a distinguished road
To get you started think about comparing the charAt(0) of each string. If they are the same you remove the first letter from each string and return a call to the method using the substrings as arguments.
Reply With Quote