Words in a sentence into a separate parts of an array

I am looking to take each word in a sentence and put them into an array and then print each word on a separate line.
ex:

This is cool

This
is
cool
Topic archived. No new replies allowed.