hi,
let say i have a number : 1234 , in this number, it can group to 1243, 1324, 1423, 1342 ... in 24 groups,
if the number is 123, it can group to 132, 231, 312, 213 ..... in few groups
any formula to do this?
Printable View
hi,
let say i have a number : 1234 , in this number, it can group to 1243, 1324, 1423, 1342 ... in 24 groups,
if the number is 123, it can group to 132, 231, 312, 213 ..... in few groups
any formula to do this?
do you want to number of combinations (n!) or an algorithm which works them all out?
If the latter, will it always be a 4 character string or a variable length?
A search on permutation in this forum turns up these results
http://www.vbforums.com/search.php?s...der=descending