Meaningless Drivel is fun!*
The moose likes Java in General and the fly likes Comparing Strings Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Comparing Strings" Watch "Comparing Strings" New topic
Author

Comparing Strings

Anoop Krishnan
Ranch Hand

Joined: May 03, 2001
Posts: 163
Which the fastest way to compare two strings
S1="JAVA RANCH" & S2="JAVA RANCH"
S1.equals(S2) or S1.intern()==S2.intern()


I just want to know is there any body call my bean's Getter and Setter methods with "Please" in front - My favorite quip from Bugzilla
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I'm closing this duplicate post.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Comparing Strings
 
Similar Threads
one more with Strings ( == and equals)
String intern (); method
Doubt in Strings
toString() on Integer class
Comparing Strings