JAVA-INDEX.COM
Java programming resources: FAQs, tutorials, compiler and browser download sites, documentation, books lists, IDEs, etc.
Home....
|
log in....
|
Pub my question!
|
Sign-up....
Java-index
>>
Java Essentials
>>
Java Programming
best way to compare two strings in java?
which is the best way to compare two strings in java?
[60 byte] By [
kothari_neerava
] at [2007-11-27 1:12:15]
««
Table Help
»»
Connection with an excel document
# 1
> which is the best way to compare two strings in java?What do you mean by compare two strings ?
TimTheEnchantora
at 2007-7-11 23:47:35 >
# 2
The equals() method
PhHeina
at 2007-7-11 23:47:35 >
# 3
What do you mean by "best" here"?Why don't you use String.equals()?
Michael.Nazarov@sun.coma
at 2007-7-11 23:47:35 >
# 4
Hi, compareTo and compareToIgnoreCaseJack
jack@square6a
at 2007-7-11 23:47:35 >
# 5
Without knowing the meaning of "best", I'd say:boolean b = aString.equals(anotherString);orboolean b =
prometheuzza
at 2007-7-11 23:47:35 >
# 6
> compareTo and compareToIgnoreCase ^ best^ bestest
DrLaszloJamfa
at 2007-7-11 23:47:35 >
Java Essentials
New to Arrays and GUI - Code needed
new post in old topic
Velocity Template Language - splitting a string
Please help with search function
Which is faster HashTable or HashMap
Italic text in textarea?
option buttons in joption panes
Simple Question
TreeSet and ClassCastException
MessageBox Class
Java Programming
Regarding usage of split function
What coudl be some initialization improvements for a int[64K][] array?
BoxLayout - can't be shared run time error
string split in Java
ProgressMonitor with MultipartPostMethod
cannot resolve symbol
Deleting a File
java mail program in java
Numeric value Problem
java program to make an application as a window service
Java Essentials New Topic
New to Arrays and GUI - Code needed
new post in old topic
BoxLayout - can't be shared run time error
string split in Java
java mail program in java
java program to make an application as a window service
Please help with search function
Set a line as an image in GUI
Java Essentials Hot Topic
Regarding usage of split function
What coudl be some initialization improvements for a int[64K][] array?
Velocity Template Language - splitting a string
cannot resolve symbol
Deleting a File
Numeric value Problem
Get null with the HashMap
Application Design help
Java Essentials
Java Programming
New To Java
Training
All Classified
Archived Forums
Enterprise & Remote Computing
Java Essentials
Desktop
Core
Solaris Operating System
Security
Database Connectivity
Java Mobility Forums
Web & Directory Servers
Development Tools
Application & Integration Servers
Java HotSpot Virtual Machine
Other Topics
E-Mail, Calendar, & Collaboration
Developer Tools
General
Administration Tools
Sun Hardware
Storage Forums
Java Enterprise System
StarOffice
Open Source Technologies
BigAdmin
Real-Time
Java Coding