Topic: How to get combination of words with replaced letter
I have a short question (hopefully). I need the method (perhaps it already exists...?) that I describe below.
Situation:
I have a word: "abcxdex".
If the word contains the character "x", return all combinations of possible words with "x" replaced by "y".
The result should therefore be an array of such words as:
"abcxdex"
"abcydex"
"abcydey"
"abcxdey"
Has someone an idea?
Last edited by emmek (2011-01-13 06:58:53)