Try

=IF(AND(FIND(B2,A2),LEN(A2)>LEN(B2)),"Mismatch: Column A has a suffix","")

for one of them.