in reply to Re: Subphrases from a phrase
in thread Subphrases from a phrase

I don't think he wants combinations. There are 7 combinations, but he only has 6 results. Your solution lists "camel book", which is not a subexpression of "camel perl book". The difference becomes much more evident when there are four words.