All that's needed now is the code to generate that from the inpu t string :)
In reply to Re^2: Find all string permutations by BrowserUk in thread Find all string permutations by Gangabass