Click to See Complete Forum and Search --> : question about Strings


keko2005
04-18-2005, 06:20 PM
is there a method to sort 2 strings alphbetically?

Khalid Ali
04-18-2005, 08:32 PM
youw ill need to write some code to do that, however I wonder if you are looking for a solution in JavaScript or Java

7stud
04-19-2005, 06:08 AM
The String functions compareTo() and compareToIgnoreCase() will tell you which one comes first alphabetically.