0

Hello friends, I searching for "Combination generator" and I found something but not this what I need me... I want to write a script who will generate all possible combination by given string and range of length.

e.g.
string = "daniweb"
length_range (3, 5)

The results should be:
_____________
ddd
dda
ddn
...
bbb
_____________
dddd
ddda
dddn
...
bbbb
_____________
ddddd
dddda
ddddn
...
bbbbb
____________


Anyone to help me ?
Thanks.

Edited by Krstevski: n/a

3
Contributors
3
Replies
4
Views
6 Years
Discussion Span
Last Post by Tech B
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.