def find_char(string) word = string.split(//) word = word.find_all { |x| word.count(x) == 1 } word.first end