When I compare two strings in SQL Server, there are couple of simple ways with = or LIKE.
=
LIKE
I want to redefine equality as:
If
Scenario is as follows. You would want to use a TVF to split the first and the second strings on space and then full join the resulting two tables on values and if you have nulls on left or right you've got inequality otherwise they are equal.
full join