buddy why r u writing so many lines of code just to reverse a string...just use reverse method of StringBuffer class and StringTokenizer class,,it'll give the desired result...use them as follow.. first reverse the string-- String reverse = *new *StringBuffer(str).reverse().toString(); then use StringTokenizer to make tokens and again reverse individual token using reverse() method of StringBuffer class...
-- Rajpal Singh B.Tech IIT Roorkee Uttarakhand 09012320801 -- You received this message because you are subscribed to the Google Groups "Google Code Jam" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-code?hl=en.
