I want to know how to copmare first letter between two strings, like string1 begins with letter ‘a’ and string2 begins with letter ‘b’ then string1 must displayed first.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This doesn’t strictly conform to UNICODE string comparison rules, which are complex for non-latin alphabets, but is quick at least: