Hi,
I need to have sql's LIKE operation in hashtable(or anyother collection object) key lookup. Any idea how to do it.
Eg :
Hashtable hash = new Hashtable();
hash.put("KEY_1234","ONE");
hash.put("KEY_5236","ONE");
hash.put("KEY_6278","ONE");
hash.get("KEY_%23%"); --> should return KEY_1234 and KEY_5236.
Any idea how to do it without looping through the hash
Thanks
Anand