差集合

集合関係に応じて要素を選びます。 区切り文字で入出力を定義します。

入力: テキスト結果: テキスト

テキスト入力

ツールの設定

使用例

Set Difference

入力

1 2 3 4 5

3 4 5 6 7

Expected answer

1 2
サンプル区切り文字
項目区切り記号
duplicates in both sets

入力

1 1 2 2 3

2 2 3 3

Expected answer

JSON
1
サンプル区切り文字
項目区切り記号
duplicates in first set are removed

入力

red,red,blue

blue

Expected answer

red
サンプル区切り文字
項目区切り記号
,
item delimiter

入力

1;2;3;4;5

3;4;5;6;7

Expected answer

1;2
サンプル区切り文字
項目区切り記号
;
sample delimiter

入力

1;2;3;4;5===3;4;5;6;7

Expected answer

1;2
サンプル区切り文字
===
項目区切り記号
;
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?
サンプル区切り文字
項目区切り記号
_

パラメーター

パラメーター既定値入力と選択肢
サンプル区切り文字"\\n\\n"\n、\r、\t などのエスケープシーケンスに対応
項目区切り記号","\n、\r、\t などのエスケープシーケンスに対応

関連ツール

算術 / 論理

操作の参考資料

元の技術文書を見る (English)