Another way to do it that checks for exact matches in tags instead of containment:
Code:
program:
t = field('tags');
v = 'Philosophy, Philosophie, Philosophy & Essays, History, Geschichte';
l = list_intersection(t, v, ',');
test(l, 'Philosophy & Essays', '')
By exact match I mean that the tag 'History' should match but the tag 'Military History' should not.