Dear statalists,

I wanted to keep this question separate from the last topic where it was about ordering. The second question is whether I can make a statement if one string contains at least the same words (irrespective of ordering) compared to another. I guess it is best explained with a table:

Name1 Name2
David Joe David Joe Henry
David Joe Joe David Henry

Then Name2 contains the same information as Name1, just more. Can I assert this with a function / if statement?

Thanks
Felix