8 kyu
Remove First and Last Character
134,983 of 309,696Steadyx
Description:
It's pretty straightforward. Your goal is to create a function that removes the first and last characters of a string. You're given one parameter, the original string. You don't have to worry about strings with less than two characters.
Strings
Fundamentals
Similar Kata:
Stats:
Created | Feb 11, 2016 |
Published | Feb 11, 2016 |
Warriors Trained | 388363 |
Total Skips | 18537 |
Total Code Submissions | 642015 |
Total Times Completed | 309696 |
JavaScript Completions | 134983 |
Ruby Completions | 6555 |
Python Completions | 91458 |
CoffeeScript Completions | 83 |
C# Completions | 14505 |
Haskell Completions | 1801 |
TypeScript Completions | 4055 |
PHP Completions | 5984 |
C Completions | 3324 |
BF Completions | 328 |
Shell Completions | 1532 |
Java Completions | 25859 |
Elixir Completions | 546 |
C++ Completions | 15210 |
Go Completions | 5216 |
Scala Completions | 869 |
NASM Completions | 66 |
Kotlin Completions | 2653 |
Julia Completions | 138 |
Racket Completions | 102 |
Rust Completions | 2714 |
Prolog Completions | 58 |
CFML Completions | 25 |
Crystal Completions | 28 |
Lua Completions | 449 |
R Completions | 303 |
Perl Completions | 133 |
COBOL Completions | 29 |
D Completions | 15 |
Factor Completions | 20 |
SQL Completions | 2667 |
Swift Completions | 746 |
Total Stars | 1645 |
% of votes with a positive feedback rating | 92% of 18866 |
Total "Very Satisfied" Votes | 16012 |
Total "Somewhat Satisfied" Votes | 2511 |
Total "Not Satisfied" Votes | 343 |
Total Rank Assessments | 201 |
Average Assessed Rank | 7 kyu |
Highest Assessed Rank | 5 kyu |
Lowest Assessed Rank | 8 kyu |