User:Mathglot/sandbox/Templates/find dupes
Appearance
0
Documentation
Returns the number of duplicates among args 1 – 20. A value of '2' means three params have identical values. A value of '0' means all parameters passed are unique.
Usage
{{find dupes|arg1|arg2|arg3|...|arg20}}
Examples
{{find dupes|one|two|three}}
⟶ 0
{{find dupes|one|two|three|one}}
⟶ 1
{{find dupes|aa|bb|cc|dd|ee|ff|gg|dd|ee|ff|gg|hh|ii|jj|kk|ll|mm|nn|oo|pp|qq|rr|ss|tt}}
⟶ 0
{{find dupes|The|quick|brown|17|fox|jumps|17|over|the|17|lazy|17|dog.|17}}
⟶ 4