SyntaxFix
Write A Post
Hire A Developer
Questions
Haven't you heard about the Comparable interface being implemented by String ? If no, try to use
Comparable
String
"abcda".compareTo("abcza")
And it will output a good root for a solution to your problem.