Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 335 Bytes

(8 kyu) Remove First and Last Character.md

File metadata and controls

5 lines (3 loc) · 335 Bytes

Remove First and Last Character (8 kyu)

https://www.codewars.com/kata/56bc28ad5bdaeb48760009b0

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 with strings with less than two characters.