have a question. So I have to compare between two array’s and remove a string that will always return a partial. EG:
Array1: John Smith, Jane Doe, Jerry Jacob
Array2: John S, Jane D, Jerry J
If Array1 contains array2, remove that entry.
I was attempting to use a Linq expression: Array1.Except(Array2).ToArray but this doesn’t work as it looks for an exact match. Thought maybe wild cards would work as well but no luck there either.
I was thinking of using something like Array.Exists but was unsure if that would work for this. Anyone have a solution for this?