}
pub fn convert_multiple_chars_to_emoji(message: &str) -> String {
let equivalence = [
("1234", "🔢"),
("cool", "🆒"),
("free", "🆓"),
("abcd", "🔠"),
("100", "💯"),
("abc", "🔤"),
("zzz", "💤"),
("sos", "🆘"),
("up!", "🆙"),
("new", "🆕"),
("ab", "🆎"),
("ng", "🆖"),
("vs", "🆚"),
("cl", "🆑"),
("ok", "🆗"),
("id", "🆔"),
("10", "🔟"),
];
let mut result = message.to_string();
for (base, emoji) in equivalence.iter() {
if !result.contains(emoji) {
if let Some((start, end)) = result.split_once(base) {
result = format!("{}{}{}", start, emoji, end);
}
}
}
result