#270. withoutEnd
withoutEnd
Background
Description
Given a string, return a version without the first and last char, so "Hello" yields "ell". The string length will be at least 2.
Format
Input
Output
Samples
Hello
"ell"
java
"av"
coding
"odin"
Limitation
1s, 1024KiB for each test case.