A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Compare Content of StringBuilder
Joined: Jul 30, 2006
Nov 11, 2007 09:04:00
How can I compare if are equals in caracters, like I compare strings, because when I use equals method it compares only the object and not the caracters.
How can I do in this case?
Joined: Sep 28, 2004
Nov 11, 2007 09:38:00
I believe the way to do this is to use toString() to get the strings, and compare them.
Java Threads, 3rd Edition
Jini in a Nutshell
Java Gems (contributor)
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: Compare Content of StringBuilder
a question about equals() method?
Send SMS by AT command
Difference between '/' and '\' when useing file path names
Using characters like quote, ampersand in xml
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013