0

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........

2
Contributors
2
Replies
3
Views
9 Years
Discussion Span
Last Post by Samudricka
0

thank u for helping me now it striked by using a if loop condition i tried and removed the last element with last index................

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.