Simplified dollarPermutations with string concatentation.