/**
 * This function takes two strings as input and finds the common characters between them.
 */
fun findCommonCharacters(string1: String, string2: String) {

    var commonCharacters = ""

    for (char in string1) {
        if (char in string2 && char !in commonCharacters) {
            commonCharacters += char
        }
    }

    println(commonCharacters)
}
/**
 * This function takes two strings as input and finds the common characters between them.
 */
fun findCommonCharacters(string1: String, string2: String) {
/**
 * This function takes two strings as input and finds the common characters between them.
 */
fun findCommonCharacters(string1: String, string2: String) {

    var commonCharacters = ""

    for (char in string1) {
        if (char in string2 && char !in commonCharacters) {
            commonCharacters += char
        }
    }

    println(commonCharacters)
}