Say you have a set of characters (ex. abcdef). I was wondering how I would go about generating all the possible srings I could make with these letters that are size X (ex. 7). I know this will result in a list that is number of characters in set C x in length but am not quite sure how to accomplish it. Any help would be greatly appreciated.

Can you repeat characters?

Each character can only be used once in the final string.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.