about | help | code help+videos | done | prefs |
Define a function that when passed a String, returns the String without the first AND the last characters. See the test cases about what to do when there are less than 2 characters in the String. withoutFirstLast("Hello") → "ell" withoutFirstLast("$") → "" withoutFirstLast("Taxicab number 1729") → "axicab number 172" ...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: 2 Post-solution available
Copyright Nick Parlante 2017 - privacy