i need help on algorithm to combine k letters from a word.
for example, i have this word: 'ABCD' . then i want to combine 3 letters from that word. so it comes to these combination:
how is the algorithm in java script so that i can get any letter combination from any word insert by users?
real need it urgent....please and thanks in advance