I cannot seem to find a clever way of creating all possible variations of name combinations.
Input (multiple names put together where each name is represented as a letter):
ABC (e.g. JohnPeterSarah)
pattern space: Replaces A with 1, B with 2 and C with 3 (among other -that's where you come in)
Desired Output
ABC
A2C
A23
AB3
1BC
12C
1B3