wes d2a2ba9e15 first commit 4 years ago
..
README.md d2a2ba9e15 first commit 4 years ago
code.cpp d2a2ba9e15 first commit 4 years ago
unitTest.cpp d2a2ba9e15 first commit 4 years ago

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