about | help | code help+videos | done | prefs |
Return a new string with all spaces on the left and right sides removed. This must remove all consecutive spaces on each end. (Note: coding bat does not display consecutive spaces properly, make sure it works on multiple spaces on the outside and inside!) removeOuterSpaces(' hey ') → 'hey' removeOuterSpaces(' x x ') → 'x x' removeOuterSpaces(' ') → '' ...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