not really sure of ur prob..... could u pls specify why r u using increment operator n then doing substring???? r all ur strings of same length??? what prob r u facing????? it is logic level or some exception?
P.S. would be helpful if u could give ur entire code
If all of the strings start with "Cus" and there are always three digits, you should get correct results using String's built-in comparator.
Great Googamooga! Please tell me that line was meant as a joke! :D
@no_screen_name, would you please try to use standard English in your posts? Most forum members (including myself) find sms-speak very annoying. Also, please don't use so many periods (fullstops) and question marks. One per sentence is all you need; the rest just clutter up your message and make it more difficult to read. The same goes for other puctuation characters.