wes d2a2ba9e15 first commit 4 år sedan
..
README.md d2a2ba9e15 first commit 4 år sedan
code.cpp d2a2ba9e15 first commit 4 år sedan
unitTest.cpp d2a2ba9e15 first commit 4 år sedan

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