wes d2a2ba9e15 first commit há 4 anos atrás
..
README.md d2a2ba9e15 first commit há 4 anos atrás
code.cpp d2a2ba9e15 first commit há 4 anos atrás
unitTest.cpp d2a2ba9e15 first commit há 4 anos atrás

README.md

Remove the First and Last Characters

by Helen Yu tags: strings, formatting, language_fundamentals

Summary

Create a function that removes the first and last characters from a string. Examples removeFirstLast("hello") ➞ "ell" removeFirstLast("maybe") ➞ "ayb" removeFirstLast("benefit") ➞ "enefi" Notes N/A

Instructions

Create a function that removes the first and last characters from a string.

Examples

removeFirstLast("hello") ➞ "ell"

removeFirstLast("maybe") ➞ "ayb"

removeFirstLast("benefit") ➞ "enefi"

Notes

N/A