Let's say I have a set with values like (20140101224466, 20140209226655, ...)
,
and I have a list that contains ('abcde.test.20140101224466', rbtd.test.20140209226655)
.
How would I compare my list against the set to get only the values in the list that contain the values in the set? Is there a more elegant approach?