Name

intersect3

intersect3 list1 list2

Return a list containing three lists. The first consists of all elements of list1 that are not in list2. The second contains the intersection of the two lists. The third contains all elements of list2 that are not in list1. The returned lists are sorted alphabetically.

Get Tcl/Tk in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.