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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "StringBuilder" Watch "StringBuilder" New topic
Author

StringBuilder

Anoop Shiralige
Greenhorn

Joined: Jun 23, 2012
Posts: 2
Hi !!

- How to read a String into StringBuilder Object from System.in? or Can we convert a String into a StringBuilder ?
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18509
    
  40

Anoop Shiralige wrote:Hi !!

- How to read a String into StringBuilder Object from System.in? or Can we convert a String into a StringBuilder ?



You can initialize a StringBuilder with a String, or you can append a String into a StringBuilder -- so, if the String is the only item appended to the StringBuilder, then I guess you can say that you converted a String into a StringBuilder.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Anoop Shiralige
Greenhorn

Joined: Jun 23, 2012
Posts: 2
Thanks Henry
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: StringBuilder
 
Similar Threads
mask cc number in log files from a string in the log file
Printing Int Array to File using PrintWriter
Capitalize first letter in string
uCertify Mock question doubt...
Which is better in String or StringBuilder and in which perspectives?