about | help | code help+videos | done | prefs |
trimLastChar
Given a string whose length is greater than or equal to 1, return a string without the last character of the input string. (Difficulty Level: 1) trimLastChar("Hello") → "Hell" trimLastChar("Cool") → "Coo" trimLastChar("Mississippi") → "Mississipp" ...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