string diff method returns the first position that the strings differ or 0