UPS interview question

How to determine if two strings are equal