A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Java
»
Java in General
Author
StringBuffer to String conversion
Ashish Chopra
Ranch Hand
Joined: Nov 30, 2004
Posts: 134
posted
Dec 02, 2004 05:27:00
0
How do i convert an object of
StringBuffer
type to an object of
String
type?I need to display it in a textarea of my GUI(in swing).
Quis Custodiet Ipsos Custodes<br /> <br />My blog: <a href="http://www.coherentrambling.blogspot.com" target="_blank" rel="nofollow">http://www.coherentrambling.blogspot.com</a>
Paul Sturrock
Bartender
Joined: Apr 14, 2004
Posts: 10336
I like...
posted
Dec 02, 2004 05:37:00
0
stringBufferObject.toString();
JavaRanch FAQ
HowToAskQuestionsOnJavaRanch
Maulin Vasavada
Ranch Hand
Joined: Nov 04, 2001
Posts: 1865
posted
Dec 02, 2004 13:26:00
0
Reading Java docs and doing google always helps...
Regards
Maulin
1. Have fun @
http://faq.javaranch.com/java/JavaRaq
2. Looking for simple infix2postfix conversion and postfix evaluation package?
Click here
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: StringBuffer to String conversion
Similar Threads
How to convert StringBuffer to String ?
Method Invocation
StringBuffer help
Java 1.5 StringBuffer/StringBuilder
Why does this give compilation error ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter