• Post Reply Bookmark Topic Watch Topic
  • New Topic

StringBuilder  RSS feed

 
Anoop Shiralige
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 23283
125
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Anoop Shiralige
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Henry
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!