note: cool and flexible solution but in case of elimination of 3(4) chars simple comparison will work fine too.