Kotlinlearncs.online LogoJava
Return to List

Solve: Without End

Imported By: Geoffrey Challen
/ Version: 2021.5.0

Given a `String``, return a version without the first and last char. So "Hello" yields "ell". The string length will be at least 2.

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

Related Lessons

Stuck? You may find these lessons helpful: