Given a string: "ABCD", return the substrings with one or more missing characters keeping the order of the strings. This doesn't seem to be a "permutation", but I'm not sure if this algorithm has a name. I am using this to generate anagrams of a word and words within a word.
Example:
A B C D
AB BC CD AC AD << missing BC
ABC BCD ACD ABD