Hi friends,
i have a doubt about string comparison.
when we use the method like..
result=st1.compareTo(st2);
then...
result>0 if st1>st2
result=0 if st1=st2
result<0 if st1<st2
how can we compare strings like numbers ?
how this method works ?
what is the use of string comparison ?
please tell me.....
thankq ...