Kotlinlearncs.online LogoJava
Return to List

Solve: xyz There

Imported By: Geoffrey Challen
/ Version: 2021.7.0

Return true if the given string contains an appearance of "xyz" where "xyz" is not directly preceded by a period. So "xxyz" counts but "x.xyz" does not.

fun xyzThere(input: String): Boolean {
return false // You may need to remove this starter code
}

Related Lessons

Stuck? You may find these lessons helpful: