Operations on lists

<< Click to Display Table of Contents >>

Navigation:  Actions > Strings >

Operations on lists

The action allows you to perform mathematical operations on two lists: intersection, union, subtraction and symmetric difference and save result to variable

 

ListOperations1

 

First list, Second list

Lists for processing. The list is simple text where each line is the element of the list. For example the list of file names.

 

Operation

There are four operations:

Intersection - elements that are in both lists

Union - all elements from both lists

Subtraction - elements from the 1st list and missing from the 2nd list (1-st list minus 2-nd list)

Symmetric difference - the union minus intersection

 

ListOperations2

 

Remove duplicates

The action removers duplicate elements from result

 

Keep result unsorted

If you want to keep the order of the elements, then turn on this switch

 

Case Sensitive

By default, the action is case-insensitive when comparing elements.

 

note Related Topics

STR Replace

STR Trim

STR Delete

STR Insert

STR Extract

STR Pos

STR Between

STR Length

STR format CSV line

TXT Number of Lines

TXT Extract Line

TXT Delete line

TXT Insert line

TXT Comma-Text Conversion

TXT UTF-8 Conversion