Thread
:
how to compare two strings
View Single Post
#
2
(
permalink
)
07-30-2007, 08:51 PM
brianhks
Senior Member
Join Date: Jul 2007
Posts: 134
try this
Code:
if (t1.equals(t2))
Make sure t1 is not null or you will get a null pointer exception.
brianhks
View Public Profile
Send a private message to brianhks
Find all posts by brianhks