about | help | code help+videos | done | prefs |
getFirstLastString
Return a string made up of the first character of the input string and the last character of the input string. (Assume that the input string has length at least 2) getFirstLastString("good") → "gd" getFirstLastString("morning") → "mg" getFirstLastString("afternoon") → "an" ...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: 100
Copyright Nick Parlante 2017 - privacy