The function package “Combinatorics” provides functions for combining and permuting strings.
- Combination lists all subsets of the entered string
- Permutation returns all possible arrangements of the entered string
- Permuted combinations lists all subgroups and their respective possible arrangements of the entered string