if(
    contains(${extract_course_completion.course_name}, "Employee"),

    replace(
        "Harassment Prevention & Gender Diversity - Employee",
        ${extract_course_completion.course_name},
        "Harassment Prevention & Gender Diversity - Employee"),

    ${extract_course_completion.course_name})

case(when(yesno_arg, value_if_yes), when(yesno_arg, value_if_yes), ..., else_value)


case(when(contains(${extract_course_completion.course_name}, "Employee"), replace(
        "Harassment Prevention & Gender Diversity - Employee",
        ${extract_course_completion.course_name},
        "Harassment Prevention & Gender Diversity - Employee"),
    when(contains(${extract_course_completion.course_name}, "Supervisor"), replace(
        "Harassment Prevention & Gender Diversity - Supervisor",
        ${extract_course_completion.course_name},
        "Harassment Prevention & Gender Diversity - Supervisor"),
    ${extract_course_completion.course_name}
        ))
