i would like to iterate through all possible combinations of the characters in a string, and i am not thinking very clearly about how to approach this. that is, if the initial string is 'bar', i want to print ['bar', 'bra', 'abr', 'arb', 'rba', 'rab'] any hints? thanks, ds