Kotlinlearncs.online LogoJava
Return to List

Homework: conCat

Imported By: Geoffrey Challen
/ Version: 2021.6.0
/ Adapted from CodingBat

Given two Strings, concatenate them and return the result. However, if the concatenation creates a double character where the Strings are joined, then omit one of the characters. So "abc" and "cat" yields "abcat", not "abccat".