For example I have this string "qwertyuiopas" and the length to be returned is : 5
How can i make a function that would return all possible 5 character strings from the given text above?
example:
qwert
werty
ewryt
... and so on
the letter should not be used again.