I am starting with a string. Let's say that string is "horse.gall up." Now I need to print out every variation of horse without one if its letters plus the ending ".gallup". So the result should be as follows.
orse.gallup
hrse.gallup
hose.gallup
hore.gallup
hors.gallup
Now if someone could figure out how to get the above results with any string that contains a period within it, that would be awesome.
Thanks in advance for any help. I is really appreciated.
Sincerely,
Ryan
orse.gallup
hrse.gallup
hose.gallup
hore.gallup
hors.gallup
Now if someone could figure out how to get the above results with any string that contains a period within it, that would be awesome.
Thanks in advance for any help. I is really appreciated.
Sincerely,
Ryan
Comment