File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Stringreversal Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Stringreversal" Watch "Stringreversal" New topic
Author

Stringreversal

Gurram Ravi
Greenhorn

Joined: Apr 17, 2006
Posts: 2
hello All......

how to make a string reverse using with string tokenizer?
Kj Reddy
Ranch Hand

Joined: Sep 20, 2003
Posts: 1704
Originally posted by Gurram Ravi:
hello All......

how to make a string reverse using with string tokenizer?


The question not related to JSP, it should go Java in General.

You can use StringBuffer.reverse() method to reverse a string.
convert the String into StringBuffer and call the reverse() method which returns another StringBuffer and convert the new StringBuffer as string.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Stringreversal