Set Union

Calculates the union of two sets.

Input: TextResult: Text

Text input

Tool options

Examples

Set Union

Input

1 2 3 4 5

3 4 5 6 7

Expected answer

1 2 3 4 5 6 7
Sample delimiter
Item delimiter
invalid sample number

Input

1 2 3 4 5

3 4 5 6 7

1

Expected rejection

Message contains
Incorrect number of sets, perhaps you need to modify the sample delimiter or add more samples?
Sample delimiter
Item delimiter
item delimiter

Input

1,2,3,4,5

3,4,5,6,7

Expected answer

1,2,3,4,5,6,7
Sample delimiter
Item delimiter
,
Nothing

Input



Expected answer

Empty result
Sample delimiter
Item delimiter
sample delimiter

Input

1 2 3 4 5whatever3 4 5 6 7

Expected answer

1 2 3 4 5 6 7
Sample delimiter
whatever
Item delimiter

Format reference: Set Union background and specification

Parameters

ParameterDefault valueInput and choices
Sample delimiter"\\n\\n"Escape sequences such as \n, \r and \t are supported
Item delimiter","Escape sequences such as \n, \r and \t are supported

Related tools

Browse arithmetic / logic tools