As stated in this question Let's say I have data that looks like this:
Declare @YourTable table (ColA varchar(150),ColB varchar(150))
Insert Into @YourTable values
('John, Sally','John, Sally, Cindy, Steve')
Select A.*
,B.*
From @YourTable A
Outer Apply (
Select Diff=value
From (
Select value=ltrim(rtrim(value)) From string_split(ColA,',')
Union All
Select value=ltrim(rtrim(value)) From string_split(ColB,',')
) B1
Group By Value
Having count(*)=1
) B
you got
ColA ColB Diff
John, Sally John, Sally, Cindy, Steve Cindy
John, Sally John, Sally, Cindy, Steve Steve
but how to get
ColA ColB Diff
John, Sally John, Sally, Cindy, Steve Cindy, Steve