Strangely, it looks like the data in A1 has both a leading blank spot and a trailing blank spot. This formula will show if they are exact, minus the blank spots:

=EXACT(LEFT(RIGHT(A1,LEN(A1)-1),LEN(A1)-2),A2)