Skip to main content

SubsetPosition

SubsetPosition[list,sublist] gives a list of positions at which sublist appears in list in any order.

SubsetPosition[list,patt] gives all positions at which sublists matching patt in any order appear in list.

SubsetPosition[list,patt,n] includes only the first n positions.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.