Kotlinlearncs.online LogoJava
Return to List

Solve: Without End 2

Imported By: Geoffrey Challen
/ Version: 2021.5.0

Given a `String``, return a version without the first and last char. So "Hello" yields "ell".

fun withoutEnd2(input: String): String {
return "" // You may need to remove this starter code
}

Related Lessons

Stuck? You may find these lessons helpful: