String compare
Hi guys,
What is the right way to compare two strings?
If I want to know, if "abc" comes before or after "abd" in directory, how do I do it?
if (Integer.parseInt("abc")>Integer.parseInt("abd"))
{
}
Is this the only way to do it? What happens if the strings are really long?
Is there any better way to do it?
Thanks a lot,
Rishi

