about | help | code help+videos | done | prefs |
breakSentence
Break sentence should return a list of the individual words of a string. Assume that there are no leading or trailing spaces and that there are never two or more spaces ajacent to eachother. (no clumps of multiple spaces) breakSentence('') → [] breakSentence('a') → ['a'] breakSentence('a b x c') → ['a', 'b', 'x', 'c'] ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy