about | help | code help+videos | done | prefs |
Given a hyphenated word, such as "love-birds", return the portion before the hyphen. beforeHyphen("love-birds") → "love" beforeHyphen("love-bird") → "love" beforeHyphen("x-ray") → "x" ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 110 Post-solution available
Copyright Nick Parlante 2017 - privacy