Esempi
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.
Input
red,green
green,blueExpected answer
red,blue- Delimitatore di campione
\n\n- Delimitatore di elementi
,
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.
Input
json,csv,xml
csv,yamlExpected answer
json,xml,yaml- Delimitatore di campione
\n\n- Delimitatore di elementi
,
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.
Input
api,web,cli
api,cliExpected answer
web- Delimitatore di campione
\n\n- Delimitatore di elementi
,
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.
Input
1,2,3
3,4,5Expected answer
1,2,4,5- Delimitatore di campione
\n\n- Delimitatore di elementi
,
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.
Input
draft,review
publishExpected answer
draft,review,publish- Delimitatore di campione
\n\n- Delimitatore di elementi
,
Symmetric Difference
Input
1 2 3 4 5
3 4 5 6 7Expected answer
1 2 6 7- Delimitatore di campione
- Delimitatore di elementi
item delimiter
Input
a_b_c_d_e
c_d_e_f_gExpected answer
a_b_f_g- Delimitatore di campione
- Delimitatore di elementi
_
sample delimiter
Input
a_b_c_d_eAAAAAc_d_e_f_gExpected answer
a_b_f_g- Delimitatore di campione
AAAAA- Delimitatore di elementi
_
wrong sample count
Input
1 2
3 4 5
3 4 5 6 7Expected rejection
Message containsIncorrect number of sets, perhaps you need to modify the sample delimiter or add more samples?- Delimitatore di campione
- Delimitatore di elementi
Parametri
| Parametro | Valore predefinito | Input e opzioni |
|---|---|---|
| Delimitatore di campione | "\\n\\n" | Sono supportate sequenze di escape come \n, \r e \t |
| Delimitatore di elementi | "," | Sono supportate sequenze di escape come \n, \r e \t |