in reply to Array of words

Note that jwkrahn's excellent solution above works well if the string is:
This is my homework?