"AB " $ "AB" && returns .F. The spaces are not contined in the second string "AB" $ "AB " && returns .T. The spaces are ignored in this case With EXACT OFF "AB " = "AB" && returns .T. "AB" = "AB " && returns .F.VFP stops comparing when it reaches the end of the string on the right side of the expression. If the length of the right side is greater than the length of the left side, the two expressions can never be equal. But if the length of the right side is less than the length of the right side, then they can be equivalent. They are equal up to a point.