Kotlinlearncs.online LogoJava
Return to List

Solve: String X

Imported By: Geoffrey Challen
/ Version: 2021.5.0

Given a String, return a version where all the "x" have been removed. Except an "x" at the very start or end should not be removed.

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

Related Lessons

Stuck? You may find these lessons helpful: