Hi all,
I am having trouble finding a code that will create all possible permutations, but within a specific grouping only. For example, below, I want the permutations for A to be only within A and those for B to be only within B. The only codes I have been able to locate so far only consider the full list (ex: would create a permutation of catorange in the example below).
BEFORE:
A apple
A orange
A banana
B cat
B dog
B lion
AFTER:
A appleorange
A applebanana
A orangeapple
A orangebanana
A bananaapple
A bananaorange
B catdog
B catlion
B dogcat
B doglion
B lioncat
B liondog
Any help on getting this code would be greatly appreciated!
Thank you!
Bookmarks