in reply to Re: substring extraction
in thread substring extraction

The way that I understood the question was that if you consider the string to be broken up into `words' by the spaces, the OP requires all words apart from the first two and the last two.