/**
 * This function takes in two strings, therapistNotes and patientNotes,
 * and replaces any common characters between the two strings with '#'.
 * It returns the modified therapistNotes string.
 */
fun replaceCommonCharacters(therapistNotes: String, patientNotes: String): String {

    var modifiedNotes = ""
    for (char1 in therapistNotes) {
        var isCommon = false
        for (char2 in patientNotes) {
            // If character is common, replace it with '#'
            if (char1 == char2) {
                modifiedNotes += "#"
                isCommon = true
                break
            }
        }
        if (!isCommon) {
            modifiedNotes += char1
        }
    }
    return modifiedNotes
}
/**
 * This function takes in two strings, therapistNotes and patientNotes,
 * and replaces any common characters between the two strings with '#'.
 * It returns the modified therapistNotes string.
 */
fun replaceCommonCharacters(therapistNotes: String, patientNotes: String): String {
/**
 * This function takes in two strings, therapistNotes and patientNotes,
 * and replaces any common characters between the two strings with '#'.
 * It returns the modified therapistNotes string.
 */
fun replaceCommonCharacters(therapistNotes: String, patientNotes: String): String {

    var modifiedNotes = ""
    for (char1 in therapistNotes) {
        var isCommon = false
        for (char2 in patientNotes) {
            // If character is common, replace it with '#'
            if (char1 == char2) {
                modifiedNotes += "#"
                isCommon = true
                break
            }
        }
        if (!isCommon) {
            modifiedNotes += char1
        }
    }
    return modifiedNotes
}