集合对称差

按集合关系筛選元素,分隔符决定如何读取两个集合及輸出結果。

輸入: 文本結果: 文本

文本輸入

工具選項

範例

Find items unique to red,green versus green,blue

Find items unique to red,green versus green,blue. The input is a small public learning fixture; it contains no private production data.

輸入

red,green

green,blue

Expected answer

red,blue
样本分隔符
\n\n
Item 分隔符
,
Find items unique to json,csv,xml versus csv,yaml

Find items unique to json,csv,xml versus csv,yaml. The input is a small public learning fixture; it contains no private production data.

輸入

json,csv,xml

csv,yaml

Expected answer

json,xml,yaml
样本分隔符
\n\n
Item 分隔符
,
Find items unique to api,web,cli versus api,cli

Find items unique to api,web,cli versus api,cli. The input is a small public learning fixture; it contains no private production data.

輸入

api,web,cli

api,cli

Expected answer

web
样本分隔符
\n\n
Item 分隔符
,
Find items unique to 1,2,3 versus 3,4,5

Find items unique to 1,2,3 versus 3,4,5. The input is a small public learning fixture; it contains no private production data.

輸入

1,2,3

3,4,5

Expected answer

1,2,4,5
样本分隔符
\n\n
Item 分隔符
,
Find items unique to draft,review versus publish

Find items unique to draft,review versus publish. The input is a small public learning fixture; it contains no private production data.

輸入

draft,review

publish

Expected answer

draft,review,publish
样本分隔符
\n\n
Item 分隔符
,
Symmetric Difference

輸入

1 2 3 4 5

3 4 5 6 7

Expected answer

1 2 6 7
样本分隔符
Item 分隔符
item delimiter

輸入

a_b_c_d_e

c_d_e_f_g

Expected answer

a_b_f_g
样本分隔符
Item 分隔符
_
sample delimiter

輸入

a_b_c_d_eAAAAAc_d_e_f_g

Expected answer

a_b_f_g
样本分隔符
AAAAA
Item 分隔符
_
wrong sample count

輸入

1 2

3 4 5

3 4 5 6 7

Expected rejection

Message contains
Incorrect number of sets, perhaps you need to modify the sample delimiter or add more samples?
样本分隔符
Item 分隔符

参數

参數默認值輸入與選項
样本分隔符"\\n\\n"支持 \n、\r 和 \t 等跳脫序列
Item 分隔符","支持 \n、\r 和 \t 等跳脫序列

相关工具

算術 / 邏輯

操作参考

查看原始技术文檔 (English)