i am trying to remova last tokenised string as i am mentioning in below sample....i have stored a data in a hashtable like this.....
Hashtable h = new Hashtable();
h.put("111", "A/B/C/d");
h.put("222", "A/B/C/D/e");
h.put("333", "A/B/C/f");
h.put("444", "A/B/C/D/E/g");
h.put("555", "A/B/R");
in order to tokenise these strings and to remove last elements.......for example....here in first string "A/B/C/d".......i have to remove d ........how can i work it out........give me some idea........