View the challenge
This challenge requires you to return the number of words in a string. This is a very simple problem that we can solve in one line by splitting the string up into an array.
You need to be a member
to see the rest of this solution and code.