I ve got an array_subscribed_players and I am checking if this array includes a string this way:
array_subscribed_players.include?(subscription.user.full_name_inversed.downcase.strip)
I am looking for a way to make this expression return true
even if the string that I give does not match perfectly with the string contained in array_subscribed_players
. Let's say if there are one or two different letters or if it has one extra or less letter.