CSV Subset Removal in a Pagelist
I have an issue in an activity which is supposed to output a Pagelist of CSV values. Each page of the pagelist contains a comma separated list of IDs, as shown below:
pxResults:
pxResults(1):
pyName: O1,O2,O3,O4,O5
pxResults(2):
pyName: O1,O2,O3,O4
pxResults(3):
pyName: O1,O2,O4
pxResults(4):
pyName: O1,O6
What is the least performance intensive way to get rid of all subsets in the pagelist (If [O1,O2,O3] is somewhere on the pagelist, pages comprised of [O1,O2], [O1,O3], and [O2,O3] should not show up)? In the above example, only pxResults(1) and pxResults(4) should remain after performing this function, as they are not fully contained by any other page.
Thanks,
Matthew