Compares the character strings in two String Objects to determine whether they are equal.
Returns True if the contents of both String objects are equal; otherwise, returns False.