Kotlinlearncs.online LogoJava
Return to List

Solve: deFront

Imported By: Geoffrey Challen
/ Version: 2021.6.0

Given a non-null String, return a version without the first 2 characters. Except keep the first character if it is 'a' and keep the second character if it is 'b'. The string may be any length.

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

Related Lessons

Stuck? You may find these lessons helpful: